Documentation ¶
Overview ¶
Package route defines some interfaces for router adapters
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidSequentialEndpoint ¶
func IsValidSequentialEndpoint(endpoint *config.EndpointConfig) bool
Types ¶
type Router ¶
type Router interface {
Run(config.ServiceConfig)
}
type RouterFunc ¶
type RouterFunc func(config.ServiceConfig)
func (RouterFunc) Run ¶
func (f RouterFunc) Run(cfg config.ServiceConfig)
Directories ¶
Path | Synopsis |
---|---|
Package chi provides some basic implementations for building routers based on go-chi/chi
|
Package chi provides some basic implementations for building routers based on go-chi/chi |
Package gin provides some basic implementations for building routers based on gin-gonic/gin
|
Package gin provides some basic implementations for building routers based on gin-gonic/gin |
Package gorilla provides some basic implementations for building routers based on gorilla/mux
|
Package gorilla provides some basic implementations for building routers based on gorilla/mux |
Package httptreemux provides some basic implementations for building routers based on dimfeld/httptreemux
|
Package httptreemux provides some basic implementations for building routers based on dimfeld/httptreemux |
Package mux provides some basic implementations for building routers based on net/http mux
|
Package mux provides some basic implementations for building routers based on net/http mux |
Package negroni provides some basic implementations for building routes based on urfave/negroni
|
Package negroni provides some basic implementations for building routes based on urfave/negroni |
Click to show internal directories.
Click to hide internal directories.