Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Signal ¶
type Signal struct {
// contains filtered or unexported fields
}
func (*Signal) OnAuth ¶ added in v0.0.3
func (s *Signal) OnAuth(cb proto.AuthCallback)
func (*Signal) OnClose ¶
func (s *Signal) OnClose(cb proto.SignalCallback)
func (*Signal) OnConnect ¶
func (s *Signal) OnConnect(cb proto.SignalCallback)
type SignalHandler ¶
type SignalHandler struct {
// contains filtered or unexported fields
}
func NewSignalHandler ¶
func NewSignalHandler(signal *Signal) *SignalHandler
func (*SignalHandler) ServeHTTP ¶
func (sh *SignalHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.