responder

package
v0.0.0-...-b15f8ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanonicalErrorFormatter

func CanonicalErrorFormatter(_ context.Context, _ *runtime.ServeMux, marshaler runtime.Marshaler, w http.ResponseWriter, r *http.Request, err error)

CanonicalErrorFormatter can be used to handle an error as general proto message defined by gRPC.

func PostgreSQLErrorFormatter

func PostgreSQLErrorFormatter(ctx context.Context, mux *runtime.ServeMux, marshaler runtime.Marshaler, w http.ResponseWriter, r *http.Request, err error)

PostgreSQLErrorFormatter can be used to handle an error as general proto message defined by gRPC.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL