MCPcopy
hub / github.com/ardanlabs/service / Encoder

Interface Encoder

foundation/web/web.go:21–23  ·  view source on GitHub ↗

Encoder defines behavior that can encode a data model and provide the content type for that encoding.

Source from the content-addressed store, hash-verified

19// Encoder defines behavior that can encode a data model and provide
20// the content type for that encoding.
21type Encoder interface {
22 Encode() (data []byte, contentType string, err error)
23}
24
25// HandlerFunc represents a function that handles a http request within our own
26// little mini framework.

Callers 8

OpenFunction · 0.65
encodeByteaFunction · 0.65
ValueMethod · 0.65
rawHandlerFunction · 0.65
doMethod · 0.65
toPublicPEMFunction · 0.65
RespondFunction · 0.65
handlerMethod · 0.65

Implementers 11

Productapp/domain/vproductapp/model.go
Homeapp/domain/homeapp/model.go
Auditapp/domain/auditapp/model.go
Productapp/domain/productapp/model.go
Userapp/domain/userapp/model.go
Infoapp/domain/checkapp/model.go
Productapp/domain/tranapp/model.go
tokenapp/domain/authapp/model.go
AuthenticateRespapp/sdk/authclient/authclient.go
Errorapp/sdk/errs/errs.go
NoResponsefoundation/web/response.go

Calls

no outgoing calls

Tested by

no test coverage detected