Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecodeIngressFunc ¶
Decode request on receiving.
type EncodeEgressFunc ¶
Encode response before sending.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer( e WebSocketEndpoint, dec DecodeIngressFunc, enc EncodeEgressFunc, options ...ServerOption, ) *Server
type ServerOption ¶
type ServerOption func(*Server)
func ServerBefore ¶
func ServerBefore(before ...RequestFunc) ServerOption
func SetSocketConfig ¶
func SetSocketConfig(socketConfig ...SocketConfigFunc) ServerOption
type WebSocketEndpoint ¶
Click to show internal directories.
Click to hide internal directories.