Documentation ¶ Index ¶ type Manager func NewManager(db *sql.DB) *Manager func (nm *Manager) Delete(chainID uint64) error func (nm *Manager) Find(chainID uint64) *params.Network func (nm *Manager) Get(onlyEnabled bool) ([]*params.Network, error) func (nm *Manager) Init(networks []params.Network) error func (nm *Manager) Upsert(network *params.Network) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Manager ¶ type Manager struct { // contains filtered or unexported fields } func NewManager ¶ func NewManager(db *sql.DB) *Manager func (*Manager) Delete ¶ func (nm *Manager) Delete(chainID uint64) error func (*Manager) Find ¶ func (nm *Manager) Find(chainID uint64) *params.Network func (*Manager) Get ¶ func (nm *Manager) Get(onlyEnabled bool) ([]*params.Network, error) func (*Manager) Init ¶ func (nm *Manager) Init(networks []params.Network) error func (*Manager) Upsert ¶ func (nm *Manager) Upsert(network *params.Network) error Source Files ¶ View all Source files network.go Click to show internal directories. Click to hide internal directories.