middleware

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: NCSA Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContentTypeMiddleware

func ContentTypeMiddleware(next http.Handler) http.Handler

func ErrorMiddleware

func ErrorMiddleware(next http.Handler) http.Handler

func LogError

func LogError(id string, error_message interface{})

Types

type ErrorLogEntry

type ErrorLogEntry struct {
	ID    string
	Error interface{}
}

Jump to

Keyboard shortcuts

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