package
0.0.0-20241024095441-cbf6a1d3add7
Repository: https://github.com/dreamsxin/codeexamples.git
Documentation: pkg.go.dev

# Functions

DecodeHTTPGreetingRequest method.
DecodeHTTPHealthRequest method.
EncodeHTTPGenericResponse is a transport/http.EncodeResponseFunc that encodes the response as JSON to the response writer.
NewGRPCServer makes a set of endpoints available as a gRPC GreeterServer.
NewHTTPHandler returns an HTTP handler that makes a set of endpoints available on predefined paths.

# Variables

ErrBadRouting is returned when an expected path variable is missing.