schema

package
v0.0.0-...-e81cf84 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package schema - содержит структуры совместно используемые разными пакетами приложения

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfoCell

type InfoCell struct {
	ID          int64  `json:"id"`
	DataType    string `json:"dataType"`
	DataSize    int32  `json:"dataSize"`
	Description string `json:"description"`
	OwnerID     int64  `json:"ownerId"`
}

InfoCell представляет структуру данных информационной ячейки

type MemoryCell

type MemoryCell struct {
	InfoCell      *InfoCell
	ID            int64             `json:"id"`
	InfoID        int64             `json:"infoId"`
	Encrypted     bool              `json:"encrypted"`
	KeyValuePairs map[string]string `json:"keyValuePairs"`
	BinaryData    []byte            `json:"binaryData"`
	FileName      string            `json:"fileName"`
}

MemoryCell представляет структуру данных ячейки памяти

type User

type User struct {
	ID       int64  `json:"id"`
	Username string `json:"username"`
	Password string `json:"password"`
}

User представляет структуру данных пользователя

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL