Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
State represents database interactions dealing with controller nodes.
func NewState ¶
func NewState(factory database.TxnRunnerFactory) *State
NewState returns a new controller node state based on the input database factory method.
func (*State) CurateNodes ¶
CurateNodes accepts slices of controller IDs to insert and delete from the controller node table.
func (*State) SelectDatabaseNamespace ¶
SelectDatabaseNamespace is responsible for selecting and returning the database namespace specified by namespace. If no namespace is registered an error satisfying errors.NotFound is returned.
Click to show internal directories.
Click to hide internal directories.