Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Upgrader = websocket.Upgrader{ReadBufferSize: 1024, WriteBufferSize: 1024}
)
Functions ¶
This section is empty.
Types ¶
type Breaker ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
It is a client between a server and a client
type OptionFunc ¶
type OptionFunc func(bk *breaker)
func WithErrorHandlerOption ¶
func WithErrorHandlerOption(f ErrorHandler) OptionFunc
func WithMaxMessagePoolLength ¶
func WithMaxMessagePoolLength(length int64) OptionFunc
func WithMaxReadLimit ¶
func WithMaxReadLimit(length int64) OptionFunc
Click to show internal directories.
Click to hide internal directories.