Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
Controller is the websocket pub-sub controller
func NewWithServiceAndWSUpgrader ¶
func NewWithServiceAndWSUpgrader(ctx context.Context, service Service, upgrader WSUpgrader) Controller
NewWithOptions create a new controller with options
type Service ¶
type WSUpgrader ¶
type WSUpgrader interface {
Upgrade(w http.ResponseWriter, r *http.Request) (WriteMessageCloser, error)
}
Click to show internal directories.
Click to hide internal directories.