handler

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

DO NOT EDIT! Code generated.

Index

Constants

This section is empty.

Variables

View Source
var HandlerNone _HandlerNone

Functions

func HandlerGet

func HandlerGet(ctx context.Context, name string, defaults http.Handler) http.Handler

func HandlerPut

func HandlerPut(ctx context.Context, name string, def http.Handler) http.Handler

func NewHandlerDefWithConfig

func NewHandlerDefWithConfig(ctx context.Context, conf *Config) http.Handler

func NewHandlerRefWithConfig

func NewHandlerRefWithConfig(ctx context.Context, conf *Config) http.Handler

Types

type Config

type Config struct {
	Name string
	Def  http.Handler `json:",omitempty"`
}

type Handler

type Handler struct {
	Name string
	Def  http.Handler
	Ctx  context.Context
}

func (*Handler) ServeHTTP

func (o *Handler) ServeHTTP(responsewriter http.ResponseWriter, b *http.Request)

Jump to

Keyboard shortcuts

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