Documentation
¶
Index ¶
Constants ¶
View Source
const (
ServiceSlashingEventType = "service_slash"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authentication ¶
type Endpoint ¶
type Endpoint struct { URL string Auth Authentication }
func NewEndpoint ¶
func NewEndpointFromURL ¶
type Monitor ¶
type Monitor struct { Client servicesdk.ServiceClient RPCEndpoint Endpoint GRPCEndpoint Endpoint Interval time.Duration Threshold int64 ProviderAddresses map[string]bool Stopped bool // contains filtered or unexported fields }
func NewMonitor ¶
func (*Monitor) IsTargetedSlashEvent ¶
type RetryConfig ¶
func NewRetryConfig ¶
func NewRetryConfig(timeout time.Duration, attempts int) RetryConfig
Click to show internal directories.
Click to hide internal directories.