Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Http ¶
func Http(fn HttpFunc) http.HandlerFunc
Http returns a http.HandlerFunc that wraps a HttpFunc capable of convenient return types.
func WebSocket ¶
func WebSocket(fn WebSocketFunc, options *websocket.AcceptOptions) http.HandlerFunc
WebSocket returns a http.HandlerFunc that wraps a websocket setup/teardown.
Types ¶
Click to show internal directories.
Click to hide internal directories.