Documentation ¶
Index ¶
- func CookieHook(ctx context.Context, writer http.ResponseWriter, message proto.Message) error
- func CustomHTTPError(ctx context.Context, mux *runtime.ServeMux, marshaler runtime.Marshaler, ...)
- func ForwardResponseMessage(ctx *gin.Context, md runtime.ServerMetadata, message proto.Message)
- func Gateway(gatewayHandle GatewayHandle) *runtime.ServeMux
- func HTTPError(ctx *gin.Context, err error)
- func HTTPStatusFromCode(code errorcode.ErrCode) int
- func ResponseHook(ctx context.Context, writer http.ResponseWriter, message proto.Message) error
- func RoutingErrorHandler(ctx context.Context, mux *runtime.ServeMux, marshaler runtime.Marshaler, ...)
- type GatewayHandle
- type SetCookie
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CookieHook ¶
func CustomHTTPError ¶
func ForwardResponseMessage ¶
func Gateway ¶
func Gateway(gatewayHandle GatewayHandle) *runtime.ServeMux
func HTTPStatusFromCode ¶
func ResponseHook ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.