Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PublishDev ¶
func PublishDev(w http.ResponseWriter, r *http.Request)
func SubscribeDev ¶
func SubscribeDev(w http.ResponseWriter, r *http.Request)
Types ¶
type PublishServer ¶
type PublishServer struct {
Topic string
}
func (PublishServer) ServeHTTP ¶
func (s PublishServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
type SubscribeServer ¶
type SubscribeServer struct {
Topic string
}
func (SubscribeServer) ServeHTTP ¶
func (s SubscribeServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.