MCPcopy Create free account
hub / github.com/docker/go-plugins-helpers / Handler

Struct Handler

sdk/handler.go:15–17  ·  view source on GitHub ↗

Handler is the base to create plugin handlers. It initializes connections and sockets to listen to.

Source from the content-addressed store, hash-verified

13// Handler is the base to create plugin handlers.
14// It initializes connections and sockets to listen to.
15type Handler struct {
16 mux *http.ServeMux
17}
18
19// NewHandler creates a new Handler with an http mux.
20func NewHandler(manifest string) Handler {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected