Versions in this module Expand all Collapse all v0 v0.0.1 Jan 15, 2024 Changes in this version + func EncodeJSONToHttpRequest(_ context.Context, msg micro.Request, request interface{}) error + func EncodeJSONToNatsMicroRequest(_ context.Context, msg micro.Request, request interface{}) error + type DecodeHttpRequestFunc func(context.Context, *http.Request) (request interface{}, err error) + type DecodeHttpResponseFunc func(context.Context, *http.Response) (response interface{}, err error) + type DecodeNatsMicroRequestFunc func(context.Context, micro.Request) (request interface{}, err error) + type DecodeNatsMicroResponseFunc func(context.Context, micro.Request) (response interface{}, err error) + type EncodeHttpRequestFunc func(context.Context, *http.Request, interface{}) error + type EncodeHttpResponseFunc func(context.Context, http.ResponseWriter, interface{}) error + type EncodeNatsMicroRequestFunc func(context.Context, micro.Request, interface{}) error + type EncodeNatsMicroResponseFunc func(context.Context, string, *nats.Conn, interface{}) error