Documentation
¶
Index ¶
- Constants
- func TransparentHandler(requestURIFn func(c *routing.Context) string, client *Client) func(c *routing.Context) error
- func TransparentOverCacheHandler(requestURIFn RequestURIFn, client *Client, store *store.TTLCache) func(c *routing.Context) error
- type Client
- type Config
- type RequestURIFn
- type Routable
- type Route
- type Server
Constants ¶
View Source
const AnyHTTPMethod = "<ANY>"
Variables ¶
This section is empty.
Functions ¶
func TransparentHandler ¶
Types ¶
type Config ¶
type RequestURIFn ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GracefulShutdown ¶
GracefulShutdown shuts down the server gracefully and logs the reason.
Click to show internal directories.
Click to hide internal directories.