Versions in this module Expand all Collapse all v0 v0.21.2 Aug 27, 2025 Changes in this version + var ErrInvalidHTTPConnection = errors.New("cannot operate over HTTP connection") + func New(logger types.Logger) *server + type ConnContext func(ctx context.Context, c net.Conn) context.Context + type HTTPHandlerFunc func(http.ResponseWriter, *http.Request) + type OpAMPServer interface + Addr func() net.Addr + Attach func(settings Settings) (HTTPHandlerFunc, ConnContext, error) + Start func(settings StartSettings) error + Stop func(ctx context.Context) error + type Settings struct + Callbacks types.Callbacks + CustomCapabilities []string + EnableCompression bool + type StartSettings struct + HTTPMiddleware func(handler http.Handler) http.Handler + ListenEndpoint string + ListenPath string + TLSConfig *tls.Config