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 WebSocketTransport ¶ added in v0.1.15
func WebSocketTransport(fn func(t transport.Transport) error, options *websocket.AcceptOptions) http.HandlerFunc
WebSocketTransport returns a http.HandlerFunc that wraps a websocket setup/teardown into a transport.Transport.
Types ¶
Click to show internal directories.
Click to hide internal directories.