Documentation ¶
Index ¶
Constants ¶
View Source
const TableName = "health"
Variables ¶
View Source
var ( PrimaryIndex = statedb.Index[types.Status, types.HealthID]{ Name: "identifier", FromObject: func(s types.Status) index.KeySet { return index.NewKeySet([]byte(s.ID.String())) }, FromKey: index.Stringer[types.HealthID], FromString: index.FromString, Unique: true, } LevelIndex = statedb.Index[types.Status, types.Level]{ Name: "level", FromObject: func(s types.Status) index.KeySet { return index.NewKeySet(index.Stringer(s.Level)) }, FromKey: index.Stringer[types.Level], FromString: index.FromString, Unique: false, } )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.