MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / Decode

Method Decode

http/handler.go:13–13  ·  view source on GitHub ↗

Decode decodes the raw request into the provided target from a JSON format. It provides an error if the decoding failed, which should be passed back through the request handler.

(target interface{})

Source from the content-addressed store, hash-verified

11 // Decode decodes the raw request into the provided target from a JSON format. It provides an
12 // error if the decoding failed, which should be passed back through the request handler.
13 Decode(target interface{}) error
14}
15
16// ServerResponse is a response structure that can be used by the RequestHandler to set the response details.

Callers 7

handleBackendMethod · 0.65
StartClientMethod · 0.65
StartServerForwardMethod · 0.65
OnRequestMethod · 0.65
getLatestGoSwaggerURLFunction · 0.65
mainFunction · 0.65

Implementers 2

internalRequesthttp/handler_impl.go
decoderinternal/auditlog/codec/binary/decode.

Calls

no outgoing calls

Tested by 1

OnRequestMethod · 0.52