Documentation ¶
Index ¶
- func OptionBuffer(read, write int) func(*websocket.Upgrader)
- func OptionCompression(enable bool) func(*websocket.Upgrader)
- func WithClient() plugins.Plugin
- func WithServer(options ...func(*websocket.Upgrader)) plugins.Plugin
- func WithServerPool(options ...func(*websocket.Upgrader)) plugins.Plugin
- type WebsocketClient
- type WebsocketClientConnect
- type WebsocketServer
- type WebsocketServerPool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptionBuffer ¶ added in v0.3.6
func OptionCompression ¶ added in v0.3.6
func WithClient ¶ added in v0.3.6
func WithServer ¶ added in v0.3.6
Types ¶
type WebsocketClient ¶
type WebsocketClient interface {
Create(url string, opts ...func(option client.Option)) WebsocketClientConnect
}
type WebsocketClientConnect ¶
type WebsocketServer ¶
type WebsocketServerPool ¶
type WebsocketServerPool interface {
Create(name string) WebsocketServer
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.