Documentation
¶
Index ¶
- func NewAtreugoEngine(config types.Config) types.Engine
- func NewEchoEngine(config types.Config) types.Engine
- func NewGinEngine(config types.Config) types.Engine
- func NewGojiEngine(config types.Config) types.Engine
- func NewGorillaEngine(config types.Config) types.Engine
- type AtreugoEngine
- func (atreugoEngine *AtreugoEngine) CONNECT(path string, process types.Process)
- func (atreugoEngine *AtreugoEngine) DELETE(path string, process types.Process)
- func (atreugoEngine *AtreugoEngine) GET(path string, process types.Process)
- func (atreugoEngine *AtreugoEngine) Group(path string, processArray ...types.Process) types.RouterGroup
- func (atreugoEngine *AtreugoEngine) HEAD(path string, process types.Process)
- func (atreugoEngine *AtreugoEngine) ListenAndServe() error
- func (atreugoEngine *AtreugoEngine) OPTIONS(path string, process types.Process)
- func (atreugoEngine *AtreugoEngine) PATCH(path string, process types.Process)
- func (atreugoEngine *AtreugoEngine) POST(path string, process types.Process)
- func (atreugoEngine *AtreugoEngine) PUT(path string, process types.Process)
- func (atreugoEngine *AtreugoEngine) SetLogger(logger *log.Logger)
- func (atreugoEngine *AtreugoEngine) Start(args string) error
- func (atreugoEngine *AtreugoEngine) TRACE(path string, process types.Process)
- func (atreugoEngine *AtreugoEngine) Use(processArray ...types.Process)
- type EchoEngine
- func (echoEngine *EchoEngine) CONNECT(path string, process types.Process)
- func (echoEngine *EchoEngine) DELETE(path string, process types.Process)
- func (echoEngine *EchoEngine) GET(path string, process types.Process)
- func (echoEngine *EchoEngine) Group(path string, processArray ...types.Process) types.RouterGroup
- func (echoEngine *EchoEngine) HEAD(path string, process types.Process)
- func (echoEngine *EchoEngine) ListenAndServe() error
- func (echoEngine *EchoEngine) OPTIONS(path string, process types.Process)
- func (echoEngine *EchoEngine) PATCH(path string, process types.Process)
- func (echoEngine *EchoEngine) POST(path string, process types.Process)
- func (echoEngine *EchoEngine) PUT(path string, process types.Process)
- func (echoEngine *EchoEngine) SetLogger(logger *log.Logger)
- func (echoEngine *EchoEngine) Start(args string) error
- func (echoEngine *EchoEngine) TRACE(path string, process types.Process)
- func (echoEngine *EchoEngine) Use(processArray ...types.Process)
- type GinEngine
- func (ginEngine *GinEngine) CONNECT(path string, process types.Process)
- func (ginEngine *GinEngine) DELETE(path string, process types.Process)
- func (ginEngine *GinEngine) GET(path string, process types.Process)
- func (ginEngine *GinEngine) Group(path string, processArray ...types.Process) types.RouterGroup
- func (ginEngine *GinEngine) HEAD(path string, process types.Process)
- func (ginEngine *GinEngine) ListenAndServe() error
- func (ginEngine *GinEngine) OPTIONS(path string, process types.Process)
- func (ginEngine *GinEngine) PATCH(path string, process types.Process)
- func (ginEngine *GinEngine) POST(path string, process types.Process)
- func (ginEngine *GinEngine) PUT(path string, process types.Process)
- func (ginEngine *GinEngine) SetLogger(logger *log.Logger)
- func (ginEngine *GinEngine) Start(args string) error
- func (ginEngine *GinEngine) TRACE(path string, process types.Process)
- func (ginEngine *GinEngine) Use(processArray ...types.Process)
- type GojiEngine
- func (gojiEngine *GojiEngine) CONNECT(path string, process types.Process)
- func (gojiEngine *GojiEngine) DELETE(path string, process types.Process)
- func (gojiEngine *GojiEngine) GET(path string, process types.Process)
- func (gojiEngine *GojiEngine) Group(path string, processArray ...types.Process) types.RouterGroup
- func (gojiEngine *GojiEngine) HEAD(path string, process types.Process)
- func (gojiEngine *GojiEngine) ListenAndServe() error
- func (gojiEngine *GojiEngine) OPTIONS(path string, process types.Process)
- func (gojiEngine *GojiEngine) PATCH(path string, process types.Process)
- func (gojiEngine *GojiEngine) POST(path string, process types.Process)
- func (gojiEngine *GojiEngine) PUT(path string, process types.Process)
- func (gojiEngine *GojiEngine) SetLogger(logger *log.Logger)
- func (gojiEngine *GojiEngine) Start(args string) error
- func (gojiEngine *GojiEngine) TRACE(path string, process types.Process)
- func (gojiEngine *GojiEngine) Use(processArray ...types.Process)
- type GorillaEngine
- func (gorillaEngine *GorillaEngine) CONNECT(path string, process types.Process)
- func (gorillaEngine *GorillaEngine) DELETE(path string, process types.Process)
- func (gorillaEngine *GorillaEngine) GET(path string, process types.Process)
- func (gorillaEngine *GorillaEngine) Group(path string, processArray ...types.Process) types.RouterGroup
- func (gorillaEngine *GorillaEngine) HEAD(path string, process types.Process)
- func (gorillaEngine *GorillaEngine) ListenAndServe() error
- func (gorillaEngine *GorillaEngine) OPTIONS(path string, process types.Process)
- func (gorillaEngine *GorillaEngine) PATCH(path string, process types.Process)
- func (gorillaEngine *GorillaEngine) POST(path string, process types.Process)
- func (gorillaEngine *GorillaEngine) PUT(path string, process types.Process)
- func (gorillaEngine *GorillaEngine) SetLogger(logger *log.Logger)
- func (gorillaEngine *GorillaEngine) Start(args string) error
- func (gorillaEngine *GorillaEngine) TRACE(path string, process types.Process)
- func (gorillaEngine *GorillaEngine) Use(processArray ...types.Process)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAtreugoEngine ¶
NewAtreugoEngine alloc new mem for atreugo impl engine from map config and give out the pointer
func NewEchoEngine ¶
NewEchoEngine The Echo implementation of engine
func NewGojiEngine ¶
NewGojiEngine 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) ListenAndServe ¶
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