Documentation
¶
Index ¶
Constants ¶
View Source
const StreamNotFound = "stream not found"
Variables ¶
View Source
var Handler http.Handler
Functions ¶
func HandleFunc ¶
func HandleFunc(pattern string, handler http.HandlerFunc)
HandleFunc handle pattern with relative path: - "api/streams" => "{basepath}/api/streams" - "/streams" => "/streams"
func ResponseStreams ¶ added in v1.3.0
func ResponseStreams(w http.ResponseWriter, streams []Stream)
Types ¶
type Transport ¶
func (*Transport) WithContext ¶ added in v1.3.0
WithContext - run function with Context variable
Click to show internal directories.
Click to hide internal directories.