Else

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElseType

type ElseType struct {
	Next  http.Handler
	Paths []string
	Msg   string
	Body  string
}

func NewElseServer

func NewElseServer(n http.Handler, p []string) *ElseType

func (*ElseType) InitializeWithConfigData

func (hdlr *ElseType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, pNo, callNo int) (err error)

func (*ElseType) PreValidate

func (hdlr *ElseType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, serverName string, pNo, callNo int) (err error)

func (ElseType) ServeHTTP

func (hdlr ElseType) ServeHTTP(www http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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