Documentation ¶
Overview ¶
Package rest provides a REST implementation of the probe daemon.
Index ¶
- type Parameter
- func WithAggregateAttestationsSetter(setter probedb.AggregateAttestationsSetter) Parameter
- func WithAttestationSummariesSetter(setter probedb.AttestationSummariesSetter) Parameter
- func WithBlockDelaysSetter(setter probedb.BlockDelaysSetter) Parameter
- func WithHeadDelaysSetter(setter probedb.HeadDelaysSetter) Parameter
- func WithListenAddress(listenAddress string) Parameter
- func WithLogLevel(logLevel zerolog.Level) Parameter
- func WithMonitor(monitor metrics.Service) Parameter
- func WithServerName(name string) Parameter
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameter ¶
type Parameter interface {
// contains filtered or unexported methods
}
Parameter is the interface for service parameters.
func WithAggregateAttestationsSetter ¶ added in v0.3.1
func WithAggregateAttestationsSetter(setter probedb.AggregateAttestationsSetter) Parameter
WithAggregateAttestationsSetter sets the aggregate attestations setter for this module.
func WithAttestationSummariesSetter ¶ added in v0.3.1
func WithAttestationSummariesSetter(setter probedb.AttestationSummariesSetter) Parameter
WithAttestationSummariesSetter sets the attestation summaries setter for this module.
func WithBlockDelaysSetter ¶
func WithBlockDelaysSetter(setter probedb.BlockDelaysSetter) Parameter
WithBlockDelaysSetter sets the block delays setter for this module.
func WithHeadDelaysSetter ¶
func WithHeadDelaysSetter(setter probedb.HeadDelaysSetter) Parameter
WithHeadDelaysSetter sets the head delays setter for this module.
func WithListenAddress ¶
WithListenAddress sets the listen address for this module.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithMonitor ¶
WithMonitor sets the monitor for the module.
func WithServerName ¶
WithServerName sets the server name for this module.