MCPcopy
hub / github.com/cortexlabs/cortex / Endpoint

Struct Endpoint

pkg/async-gateway/endpoint.go:33–36  ·  view source on GitHub ↗

Endpoint wraps an async-gateway Service with HTTP logic

Source from the content-addressed store, hash-verified

31
32// Endpoint wraps an async-gateway Service with HTTP logic
33type Endpoint struct {
34 service Service
35 logger *zap.SugaredLogger
36}
37
38// NewEndpoint creates and initializes a new Endpoint struct
39func NewEndpoint(svc Service, logger *zap.SugaredLogger) *Endpoint {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected