Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServerConfig ¶
HTTPServerConfig represents the basic server config
func (HTTPServerConfig) GetAddr ¶
func (c HTTPServerConfig) GetAddr() string
GetAddr returns server address
type WSServer ¶
type WSServer struct {
// contains filtered or unexported fields
}
WSServer represents a http.Server, the gomultiwa instance, a websocket upgrader and router
func NewWSServer ¶
func NewWSServer(config *WSServerConfig) *WSServer
NewWSServer returns new WSServer
func (*WSServer) HandleExtensionFunc ¶
func (ws *WSServer) HandleExtensionFunc(method string, path string, mq *messagequeue.MessageQueue)
type WSServerConfig ¶
type WSServerConfig struct { HTTPServerConfig WA gmwi.GoMultiWAInterface }
WSServerConfig represents the initial config for WSServer
Click to show internal directories.
Click to hide internal directories.