Documentation ¶
Index ¶
- Variables
- type BoltDB
- func (db *BoltDB) Close() error
- func (db *BoltDB) GetLastBlock() (*big.Int, error)
- func (db *BoltDB) GetNodeByOperatorContractId(operatorContractId string) (*NodeData, error)
- func (db *BoltDB) GetNodeData(operatorID string) (*NodeData, error)
- func (db *BoltDB) GetOperatorByOperatorId(operatorId string) (*Operator, error)
- func (db *BoltDB) GetOperatorByOperatorIdContract(operatorIdContract uint64) (*Operator, error)
- func (db *BoltDB) ListNodeData(onlyWithNotNilOperatorId bool) ([]NodeData, error)
- func (db *BoltDB) SaveLastBlock(blockNumber *big.Int) error
- func (db *BoltDB) SaveOperator(operator *Operator) error
- func (db *BoltDB) SaveOperatorAndUpdateNodeData(operator *Operator) error
- func (db *BoltDB) SaveOperatorContractIdToOperatorId(operatorId string, operatorIdContract uint64) error
- func (db *BoltDB) StoreNodeData(data *NodeData) error
- type GeoData
- type NodeData
- type Operator
- type State
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type BoltDB ¶
type BoltDB struct {
// contains filtered or unexported fields
}
func (*BoltDB) GetNodeByOperatorContractId ¶
func (*BoltDB) GetOperatorByOperatorId ¶
func (*BoltDB) GetOperatorByOperatorIdContract ¶
func (*BoltDB) ListNodeData ¶
func (*BoltDB) SaveOperator ¶
func (*BoltDB) SaveOperatorAndUpdateNodeData ¶
func (*BoltDB) SaveOperatorContractIdToOperatorId ¶
func (*BoltDB) StoreNodeData ¶
Click to show internal directories.
Click to hide internal directories.