domain

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	BucketId   uint64
	ControlId  uint64
	SystemName string
	TimeLife   uint //Врея жизни в часах
	TimeZone   string
}

type Control

type Control struct {
	ControlId uint64
	Login     string
	Password  string
	Buckets   []Bucket
}

func (Control) String

func (c Control) String() string

type Data

type Data struct {
	DataId  string
	Ext     string
	PointId uint64
	Bucket  string
	Time    *time.Time
	Level   string
	Val     []byte
}

type Point

type Point struct {
	PointId    uint64
	BucketId   uint64
	ExternalId string
	TimeZone   string
}

type Token

type Token struct {
	TokenId  uint64
	BucketId uint64
	Bucket   string
	Type     uint8 //1-запись, 2-чтение, 3-полный
	Val      string
}

Jump to

Keyboard shortcuts

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