Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorWriter

type ErrorWriter interface {
	WriteError(
		rw http.ResponseWriter,
		code int,
		message string,
		logger logger.Logger,
	)
}

func NewHTMLErrorWriterFromFile

func NewHTMLErrorWriterFromFile(path string) (ErrorWriter, error)

func NewPlaintextErrorWriter

func NewPlaintextErrorWriter() ErrorWriter

Source Files