Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface { Route Run(addr string) error ServeHTTP(w http.ResponseWriter, req *http.Request) GlobalMiddleware(...httpcontract.Middleware) }
type Route ¶
type Route interface { Group(GroupFunc) Prefix(addr string) Route Middleware(...httpcontract.Middleware) Route Any(string, httpcontract.HandlerFunc) Get(string, httpcontract.HandlerFunc) Post(string, httpcontract.HandlerFunc) Delete(string, httpcontract.HandlerFunc) Patch(string, httpcontract.HandlerFunc) Put(string, httpcontract.HandlerFunc) Options(string, httpcontract.HandlerFunc) Static(string, string) StaticFile(string, string) StaticFS(string, http.FileSystem) }
Click to show internal directories.
Click to hide internal directories.