Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventListener ¶
type EventListener interface { IncStateRootUpdateRequests() IncOperatorSetUpdateRequests() IncCheckpointMessagesRequests() APIErrors() }
func MakeServerMetrics ¶
func MakeServerMetrics(registry *prometheus.Registry) (EventListener, error)
type RestServer ¶
type RestServer struct {
// contains filtered or unexported fields
}
func NewRestServer ¶
func NewRestServer(serverIpPortAddr string, app aggregator.RestAggregatorer, logger logging.Logger) *RestServer
func (*RestServer) EnableMetrics ¶
func (s *RestServer) EnableMetrics(registry *prometheus.Registry) error
func (*RestServer) Start ¶
func (s *RestServer) Start() error
type SelectiveListener ¶
type SelectiveListener struct { IncStateRootUpdateRequestsCb func() IncOperatorSetUpdateRequestsCb func() IncCheckpointMessagesRequestsCb func() APIErrorsCb func() }
func (*SelectiveListener) APIErrors ¶
func (l *SelectiveListener) APIErrors()
func (*SelectiveListener) IncCheckpointMessagesRequests ¶
func (l *SelectiveListener) IncCheckpointMessagesRequests()
func (*SelectiveListener) IncOperatorSetUpdateRequests ¶
func (l *SelectiveListener) IncOperatorSetUpdateRequests()
func (*SelectiveListener) IncStateRootUpdateRequests ¶
func (l *SelectiveListener) IncStateRootUpdateRequests()
Click to show internal directories.
Click to hide internal directories.