Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseHandler ¶
type CloseHandler func(c Conn)
type Conn ¶
type Conn interface {
ConnID() uint64
ClientIP() string
Push(m *rony.MessageEnvelope)
Pop() *rony.MessageEnvelope
SendBinary(streamID int64, data []byte) error
Persistent() bool
Get(key string) interface{}
Set(key string, val interface{})
}
Conn defines the Connection interface
type ConnectHandler ¶
type ConnectHandler func(c Conn)
type Gateway ¶
Gateway defines the gateway interface where clients could connect and communicate with the edge server
type MessageHandler ¶
Click to show internal directories.
Click to hide internal directories.