mcp

package
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(svc Service) http.Handler

Types

type Service

type Service interface {
	GetEnabledModulesTable() string
	GetAtcEnabledServices(ctx context.Context) ([]string, error)
	PurgeServiceResolver(ctx context.Context, name string) error
	IsLeader() bool
	GetFederationStatus(ctx context.Context) (map[string]string, error)
	ApplyFailoverOverride(ctx context.Context, service string, targetDc string, targetNs string, duration string) error
	TriggerManualRedirect(ctx context.Context, service string, redirectDc string, redirectNs string, duration string) error
	GetPredefinedStrategies(ctx context.Context) (string, error)
	ListActiveOverrides(ctx context.Context) ([]map[string]any, error)
	TriggerConfigReload() error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL