Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoRowsAffected = errors.New("no rows affected")
Functions ¶
This section is empty.
Types ¶
type ORM ¶
type ORM interface {
CreateChain(id utils.Big, config types.ChainCfg) (types.Chain, error)
DeleteChain(id utils.Big) error
Chains(offset, limit int) ([]types.Chain, int, error)
CreateNode(data NewNode) (types.Node, error)
DeleteNode(id int64) error
Nodes(offset, limit int) ([]types.Node, int, error)
NodesForChain(chainID utils.Big, offset, limit int) ([]types.Node, int, error)
}
Click to show internal directories.
Click to hide internal directories.