Documentation ¶
Index ¶
- Constants
- Variables
- func Connect() *clientv3.Client
- func DeleteAll(client *clientv3.Client)
- func ReadLogi(client *clientv3.Client, DbName string, TableName string, metatype MetaType) []byte
- func ReadPhys(client *clientv3.Client, SiteName string, FragmentName string, ...) []byte
- func Write(client *clientv3.Client, metatype MetaType)
- type DbMeta_
- type FieldMeta_
- type FragmentMeta_
- type MetaType
- type RouterMeta_
- type SiteMeta_
- type TableMeta_
Constants ¶
View Source
const ( SiteMetaType = iota FragmentMetaType FieldMetaType RouterMetaType TableMetaType DbMetaType )
Variables ¶
View Source
var ( SiteMeta SiteMeta_ FragmentMeta FragmentMeta_ FieldMeta FieldMeta_ RouterMeta RouterMeta_ TableMeta TableMeta_ DbMeta DbMeta_ DefaultDbName string = "ddb" )
Functions ¶
Types ¶
type FieldMeta_ ¶
logical meta
type FragmentMeta_ ¶
type RouterMeta_ ¶
type TableMeta_ ¶
type TableMeta_ struct { Name string FieldMetas []FieldMeta_ RouterMeta RouterMeta_ Frags []plan.Frag_ }
Click to show internal directories.
Click to hide internal directories.