transport

package
v0.0.0-...-8ba40cc Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithError

func WithError(h HandlerWithError) http.HandlerFunc

Types

type ErrorResponse

type ErrorResponse struct {
	Errors Errors `json:"errors"`
}

type Errors

type Errors struct {
	Body []string `json:"body"`
}

type HandlerWithError

type HandlerWithError func(http.ResponseWriter, *http.Request) error

Jump to

Keyboard shortcuts

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