types

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TimeoutWaitingPortFreeing = 250 * time.Microsecond
	TimeoutWaitingStop        = 5 * time.Second
	BadHandlerName            = "no handler"
)

Variables

This section is empty.

Functions

func NewBadHandler

func NewBadHandler() http.Handler

Types

type BadHandler

type BadHandler struct{}

func (BadHandler) ServeHTTP

func (o BadHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)

type FieldType

type FieldType uint8
const (
	HandlerDefault           = "default"
	FieldName      FieldType = iota
	FieldBind
	FieldExpose
)

type FuncHandler

type FuncHandler func() map[string]http.Handler

Jump to

Keyboard shortcuts

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