engine

package
v0.0.0-...-2c4220d Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAtreugoEngine

func NewAtreugoEngine(config types.Config) types.Engine

NewAtreugoEngine alloc new mem for atreugo impl engine from map config and give out the pointer

func NewEchoEngine

func NewEchoEngine(config types.Config) types.Engine

NewEchoEngine The Echo implementation of engine

func NewGinEngine

func NewGinEngine(config types.Config) types.Engine

func NewGojiEngine

func NewGojiEngine(config types.Config) types.Engine

NewGojiEngine alloc new mem for atreugo impl engine from map config and give out the pointer

func NewGorillaEngine

func NewGorillaEngine(config types.Config) types.Engine

NewAtreugoEngine alloc new mem for atreugo impl engine from map config and give out the pointer

Types

type AtreugoEngine

type AtreugoEngine struct {
	// contains filtered or unexported fields
}

AtreugoEngine The atreugo implementation of engine

func (*AtreugoEngine) CONNECT

func (atreugoEngine *AtreugoEngine) CONNECT(path string, process types.Process)

CONNECT in AtreugoEngine

func (*AtreugoEngine) DELETE

func (atreugoEngine *AtreugoEngine) DELETE(path string, process types.Process)

DELETE in AtreugoEngine

func (*AtreugoEngine) GET

func (atreugoEngine *AtreugoEngine) GET(path string, process types.Process)

GET in AtreugoEngine

func (*AtreugoEngine) Group

func (atreugoEngine *AtreugoEngine) Group(path string, processArray ...types.Process) types.RouterGroup

Group in AtreugoEngine

func (*AtreugoEngine) HEAD

func (atreugoEngine *AtreugoEngine) HEAD(path string, process types.Process)

HEAD in AtreugoEngine

func (*AtreugoEngine) ListenAndServe

func (atreugoEngine *AtreugoEngine) ListenAndServe() error

func (*AtreugoEngine) OPTIONS

func (atreugoEngine *AtreugoEngine) OPTIONS(path string, process types.Process)

OPTIONS in AtreugoEngine

func (*AtreugoEngine) PATCH

func (atreugoEngine *AtreugoEngine) PATCH(path string, process types.Process)

PATCH in AtreugoEngine

func (*AtreugoEngine) POST

func (atreugoEngine *AtreugoEngine) POST(path string, process types.Process)

POST in AtreugoEngine

func (*AtreugoEngine) PUT

func (atreugoEngine *AtreugoEngine) PUT(path string, process types.Process)

PUT in AtreugoEngine

func (*AtreugoEngine) SetLogger

func (atreugoEngine *AtreugoEngine) SetLogger(logger *log.Logger)

SetLogger in AtreugoEngine

func (*AtreugoEngine) Start

func (atreugoEngine *AtreugoEngine) Start(args string) error

func (*AtreugoEngine) TRACE

func (atreugoEngine *AtreugoEngine) TRACE(path string, process types.Process)

TRACE in AtreugoEngine

func (*AtreugoEngine) Use

func (atreugoEngine *AtreugoEngine) Use(processArray ...types.Process)

Use in AtreugoEngine

type EchoEngine

type EchoEngine struct {
	// contains filtered or unexported fields
}

EchoEngine The echo implementation of engine

func (*EchoEngine) CONNECT

func (echoEngine *EchoEngine) CONNECT(path string, process types.Process)

CONNECT in EchoEngine

func (*EchoEngine) DELETE

func (echoEngine *EchoEngine) DELETE(path string, process types.Process)

DELETE in EchoEngine

func (*EchoEngine) GET

func (echoEngine *EchoEngine) GET(path string, process types.Process)

GET in EchoEngine

func (*EchoEngine) Group

func (echoEngine *EchoEngine) Group(path string, processArray ...types.Process) types.RouterGroup

Group in EchoEngine

func (*EchoEngine) HEAD

func (echoEngine *EchoEngine) HEAD(path string, process types.Process)

HEAD in EchoEngine

func (*EchoEngine) ListenAndServe

func (echoEngine *EchoEngine) ListenAndServe() error

func (*EchoEngine) OPTIONS

func (echoEngine *EchoEngine) OPTIONS(path string, process types.Process)

OPTIONS in EchoEngine

func (*EchoEngine) PATCH

func (echoEngine *EchoEngine) PATCH(path string, process types.Process)

PATCH in EchoEngine

func (*EchoEngine) POST

func (echoEngine *EchoEngine) POST(path string, process types.Process)

POST in EchoEngine

func (*EchoEngine) PUT

func (echoEngine *EchoEngine) PUT(path string, process types.Process)

PUT in EchoEngine

func (*EchoEngine) SetLogger

func (echoEngine *EchoEngine) SetLogger(logger *log.Logger)

SetLogger in EchoEngine

func (*EchoEngine) Start

func (echoEngine *EchoEngine) Start(args string) error

func (*EchoEngine) TRACE

func (echoEngine *EchoEngine) TRACE(path string, process types.Process)

TRACE in EchoEngine

func (*EchoEngine) Use

func (echoEngine *EchoEngine) Use(processArray ...types.Process)

Use in EchoEngine

type GinEngine

type GinEngine struct {
	// contains filtered or unexported fields
}

func (*GinEngine) CONNECT

func (ginEngine *GinEngine) CONNECT(path string, process types.Process)

CONNECT in GinEngine

func (*GinEngine) DELETE

func (ginEngine *GinEngine) DELETE(path string, process types.Process)

DELETE in GinEngine

func (*GinEngine) GET

func (ginEngine *GinEngine) GET(path string, process types.Process)

GET in GinEngine

func (*GinEngine) Group

func (ginEngine *GinEngine) Group(path string, processArray ...types.Process) types.RouterGroup

Group in GinEngine

func (*GinEngine) HEAD

func (ginEngine *GinEngine) HEAD(path string, process types.Process)

HEAD in GinEngine

func (*GinEngine) ListenAndServe

func (ginEngine *GinEngine) ListenAndServe() error

func (*GinEngine) OPTIONS

func (ginEngine *GinEngine) OPTIONS(path string, process types.Process)

OPTIONS in GinEngine

func (*GinEngine) PATCH

func (ginEngine *GinEngine) PATCH(path string, process types.Process)

PATCH in GinEngine

func (*GinEngine) POST

func (ginEngine *GinEngine) POST(path string, process types.Process)

POST in GinEngine

func (*GinEngine) PUT

func (ginEngine *GinEngine) PUT(path string, process types.Process)

PUT in GinEngine

func (*GinEngine) SetLogger

func (ginEngine *GinEngine) SetLogger(logger *log.Logger)

SetLogger in GinEngine

func (*GinEngine) Start

func (ginEngine *GinEngine) Start(args string) error

func (*GinEngine) TRACE

func (ginEngine *GinEngine) TRACE(path string, process types.Process)

TRACE in GinEngine

func (*GinEngine) Use

func (ginEngine *GinEngine) Use(processArray ...types.Process)

Use in GinEngine

type GojiEngine

type GojiEngine struct {
	// contains filtered or unexported fields
}

GojiEngine The goji implementation of engine

func (*GojiEngine) CONNECT

func (gojiEngine *GojiEngine) CONNECT(path string, process types.Process)

CONNECT in GojiEngine

func (*GojiEngine) DELETE

func (gojiEngine *GojiEngine) DELETE(path string, process types.Process)

DELETE in GojiEngine

func (*GojiEngine) GET

func (gojiEngine *GojiEngine) GET(path string, process types.Process)

GET in GojiEngine

func (*GojiEngine) Group

func (gojiEngine *GojiEngine) Group(path string, processArray ...types.Process) types.RouterGroup

Group in GojiEngine

func (*GojiEngine) HEAD

func (gojiEngine *GojiEngine) HEAD(path string, process types.Process)

HEAD in GojiEngine

func (*GojiEngine) ListenAndServe

func (gojiEngine *GojiEngine) ListenAndServe() error

func (*GojiEngine) OPTIONS

func (gojiEngine *GojiEngine) OPTIONS(path string, process types.Process)

OPTIONS in GojiEngine

func (*GojiEngine) PATCH

func (gojiEngine *GojiEngine) PATCH(path string, process types.Process)

PATCH in GojiEngine

func (*GojiEngine) POST

func (gojiEngine *GojiEngine) POST(path string, process types.Process)

POST in GojiEngine

func (*GojiEngine) PUT

func (gojiEngine *GojiEngine) PUT(path string, process types.Process)

PUT in GojiEngine

func (*GojiEngine) SetLogger

func (gojiEngine *GojiEngine) SetLogger(logger *log.Logger)

SetLogger in GojiEngine

func (*GojiEngine) Start

func (gojiEngine *GojiEngine) Start(args string) error

func (*GojiEngine) TRACE

func (gojiEngine *GojiEngine) TRACE(path string, process types.Process)

TRACE in GojiEngine

func (*GojiEngine) Use

func (gojiEngine *GojiEngine) Use(processArray ...types.Process)

Use in GojiEngine

type GorillaEngine

type GorillaEngine struct {
	// contains filtered or unexported fields
}

GorillaEngine The Gorilla implementation of engine

func (*GorillaEngine) CONNECT

func (gorillaEngine *GorillaEngine) CONNECT(path string, process types.Process)

CONNECT in GorillaEngine

func (*GorillaEngine) DELETE

func (gorillaEngine *GorillaEngine) DELETE(path string, process types.Process)

DELETE in GorillaEngine

func (*GorillaEngine) GET

func (gorillaEngine *GorillaEngine) GET(path string, process types.Process)

GET in GorillaEngine

func (*GorillaEngine) Group

func (gorillaEngine *GorillaEngine) Group(path string, processArray ...types.Process) types.RouterGroup

Group in GorillaEngine

func (*GorillaEngine) HEAD

func (gorillaEngine *GorillaEngine) HEAD(path string, process types.Process)

HEAD in GorillaEngine

func (*GorillaEngine) ListenAndServe

func (gorillaEngine *GorillaEngine) ListenAndServe() error

func (*GorillaEngine) OPTIONS

func (gorillaEngine *GorillaEngine) OPTIONS(path string, process types.Process)

OPTIONS in GorillaEngine

func (*GorillaEngine) PATCH

func (gorillaEngine *GorillaEngine) PATCH(path string, process types.Process)

PATCH in GorillaEngine

func (*GorillaEngine) POST

func (gorillaEngine *GorillaEngine) POST(path string, process types.Process)

POST in GorillaEngine

func (*GorillaEngine) PUT

func (gorillaEngine *GorillaEngine) PUT(path string, process types.Process)

PUT in GorillaEngine

func (*GorillaEngine) SetLogger

func (gorillaEngine *GorillaEngine) SetLogger(logger *log.Logger)

SetLogger in GorillaEngine

func (*GorillaEngine) Start

func (gorillaEngine *GorillaEngine) Start(args string) error

func (*GorillaEngine) TRACE

func (gorillaEngine *GorillaEngine) TRACE(path string, process types.Process)

TRACE in GorillaEngine

func (*GorillaEngine) Use

func (gorillaEngine *GorillaEngine) Use(processArray ...types.Process)

Use in GorillaEngine

Jump to

Keyboard shortcuts

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