handlers

package
v0.0.0-...-3590cfd Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(logger lager.Logger, port string) rata.Handlers

Types

type Body

type Body struct {
	Body  string
	Class string
}

type Env

type Env struct {
}

func (*Env) ServeHTTP

func (p *Env) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Exit

type Exit struct {
	Time time.Time
}

func (*Exit) ServeHTTP

func (p *Exit) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Headers

type Headers struct {
}

func (*Headers) ServeHTTP

func (p *Headers) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Hello

type Hello struct {
	Time time.Time
}

func (*Hello) ServeHTTP

func (p *Hello) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Index

type Index struct {
}

func (*Index) ServeHTTP

func (_ *Index) ServeHTTP(w http.ResponseWriter, r *http.Request)

type LoggingHandler

type LoggingHandler struct {
	Route   string
	Handler http.Handler
	Logger  lager.Logger
}

func (*LoggingHandler) ServeHTTP

func (h *LoggingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Port

type Port struct {
	Port string
}

func (*Port) ServeHTTP

func (p *Port) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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