Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrOldConfiguration = errors.New("configuration is outdated") ErrNoConfiguraton = errors.New("can't fetch configuration") )
Functions ¶
This section is empty.
Types ¶
type AlertsMonitor ¶
type BootstrapClient ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) GetConfiguration ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger *zap.SugaredLogger, nodeID uint64, configuration *types.LastConfiguration, net Network, am AlertsMonitor, bf Broadcaster, ) Service
func (Service) Configuration ¶
func (s Service) Configuration() *types.Configuration
Click to show internal directories.
Click to hide internal directories.