Versions in this module Expand all Collapse all v1 v1.5.4 Oct 26, 2023 Changes in this version + var LoadedPluginTypes = []Type + type Notifier struct + func NewNotifier() *Notifier + func (n *Notifier) GetContext() context.Context + func (n *Notifier) GetError() model.SDKError + func (n *Notifier) Notify(sdkErr model.SDKError) + type PluginEvent struct + EventObject interface{} + EventType PluginEventType + type PluginEventHandler struct + Callback func(event *PluginEvent) error + type PluginEventType int + const OnContextStarted + const OnInstanceLocalValueCreated + const OnRateLimitWindowCreated + const OnRateLimitWindowDeleted + const OnRoutedClusterReturned + const OnServiceAdded + const OnServiceDeleted + const OnServiceLocalValueCreated + const OnServiceUpdated + type RateLimitDiffInfo struct + DeletedRules map[string]string + UpdatedRules map[string]*RevisionChange + type RevisionChange struct + NewRevision string + OldRevision string + type RunContext struct + func NewRunContext() *RunContext + func (c *RunContext) Destroy() error + func (c *RunContext) Done() <-chan struct{} + func (c *RunContext) IsDestroyed() bool + type ServiceEventObject struct + NewValue interface{} + OldValue interface{} + SvcEventKey model.ServiceEventKey + type Type uint32 + const TypeCircuitBreaker + const TypeConfigConnector + const TypeConfigFilter + const TypeHealthCheck + const TypeLoadBalancer + const TypeLocalRegistry + const TypeLocationProvider + const TypePluginBase + const TypeRateLimiter + const TypeServerConnector + const TypeServiceRouter + const TypeStatReporter + const TypeWeightAdjuster + func (t Type) String() string