response_decorator

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2021 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterSensitiveError

type FilterSensitiveError struct{}

func (FilterSensitiveError) Decorate

func (c FilterSensitiveError) Decorate(response inter.Response) inter.Response

type Handler

type Handler struct {
	Decorators []inter.ResponseDecorator
}

func (Handler) Decorate

func (r Handler) Decorate(response inter.Response) inter.Response

type HttpStatus

type HttpStatus struct {
	ErrorDefault int
}

func (HttpStatus) Decorate

func (h HttpStatus) Decorate(response inter.Response) inter.Response

type LogError

type LogError struct{}

func (LogError) Decorate

func (l LogError) Decorate(response inter.Response) inter.Response

Jump to

Keyboard shortcuts

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