Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeFooRequest ¶
DecodeFooRequest is a transport/http.DecodeRequestFunc that decodes a JSON-encoded sum request from the HTTP request body. Primarily useful in a server.
func EncodeFooResponse ¶
func EncodeFooResponse(_ context.Context, w http.ResponseWriter, response interface{}) (err error)
EncodeFooResponse is a transport/http.EncodeResponseFunc that encodes the response as JSON to the response writer. Primarily useful in a server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.