Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWriteToClosedConn = errors.New("write to closed conn") ErrUnexpectedSocketRead = errors.New("unexpected socket read") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Concurrency int ListenAddress string MaxBodySize int MaxIdleTime time.Duration Protocol Protocol ExternalAddrs []string }
Config
type Gateway ¶
type Gateway struct { gateway.ConnectHandler gateway.MessageHandler gateway.CloseHandler // contains filtered or unexported fields }
Gateway
Source Files ¶
Click to show internal directories.
Click to hide internal directories.