Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config represents a websocket server configuration
type Stream ¶
type Stream struct { Read *WsResponse `yaml:"read,omitempty"` Write *WsResponse `yaml:"write,omitempty"` }
Stream represents a websocket read/write stream
type WsResponse ¶
type WsResponse struct { Bufsize string `yaml:"bufsize"` Delay *time.Duration `yaml:"delay,omitempty"` Type *string `yaml:"type,omitempty"` }
WsResponse represents a websocket response
func (WsResponse) String ¶
func (tcpResponse WsResponse) String() string
Click to show internal directories.
Click to hide internal directories.