Documentation
¶
Index ¶
- type Config
- type Exchanger
- type IExchanger
- type Option
- func WithAPIServer(apiServer *api.Server) Option
- func WithAgent(ag agent.Agent) Option
- func WithChecker(checker checker.Checker) Option
- func WithExecutor(exec executor.Executor) Option
- func WithMonitor(mnt monitor.Monitor) Option
- func WithPeerMgr(mgr peermgr.PeerManager) Option
- func WithStorage(store storage.Storage) Option
- func WithSyncer(syncer syncer.Syncer) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func GenerateConfig ¶
type IExchanger ¶
type Option ¶
type Option func(*Config)
func WithAPIServer ¶
func WithChecker ¶
func WithExecutor ¶
func WithMonitor ¶
func WithPeerMgr ¶
func WithPeerMgr(mgr peermgr.PeerManager) Option
func WithStorage ¶
func WithSyncer ¶
Click to show internal directories.
Click to hide internal directories.