Versions in this module Expand all Collapse all v0 v0.2.0 May 28, 2026 Changes in this version + const CircuitCooldown + const CircuitOpenThreshold + const InitialBackoff + const MaxRetries + func LoadPersistedURL() (string, error) + func SavePersistedURL(url string) error + func Validate(rawURL string) error + type Client struct + func NewClient(url string, nodeIDFunc func() uint32, opts ...Option) *Client + func (wc *Client) CircuitSkips() uint64 + func (wc *Client) Close() + func (wc *Client) Dropped() uint64 + func (wc *Client) Emit(event string, data interface{}) + type Event struct + Data interface{} + Event string + EventID uint64 + NodeID uint32 + Timestamp time.Time + type Option func(*Client) + func WithCircuitCooldown(d time.Duration) Option + func WithHTTPTimeout(d time.Duration) Option + func WithRetryBackoff(d time.Duration) Option + func WithSecret(secret string) Option + type Service struct + func NewService(initialURL string, opts ...Option) *Service + func (s *Service) Name() string + func (s *Service) Order() int + func (s *Service) SetURL(url string) + func (s *Service) Start(_ context.Context, deps coreapi.Deps) error + func (s *Service) Stats() Stats + func (s *Service) Stop(_ context.Context) error + type Stats struct + CircuitSkips uint64 + Dropped uint64 v0.1.0 May 22, 2026