contractmanager

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2022 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingConf = errors.New("missing configuration: wireleap:// listening is not enabled")

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Controller *relaylib.Controller

	NetStats netStats
	// contains filtered or unexported fields
}

Contract Manager

func NewDummyManager added in v0.6.0

func NewDummyManager() *Manager

func NewManager

func NewManager(fm fsdir.T, c *relaycfg.C, pubkey string, cl *client.Client) (m *Manager, err error)

func (*Manager) PrintStatus

func (m *Manager) PrintStatus()

func (*Manager) ReloadCfg

func (m *Manager) ReloadCfg(c *relaycfg.C) (err error)

func (*Manager) Start

func (m *Manager) Start() error

func (*Manager) Status

func (m *Manager) Status() (ms managerStatus)

func (*Manager) Stop

func (m *Manager) Stop()

func (*Manager) StoreStats added in v0.6.0

func (m *Manager) StoreStats()

Force stats file storage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL