Documentation ¶
Index ¶
- func GetEventQueueSize() int
- func GetSessionTableSize() int
- func HandleRequestBuffer(reqbuf *bytes.Buffer, ctx *ConnContext) ([]event.Event, error)
- func ReleaseEventQueue(q *ConnEventQueue)
- type ConnContext
- type ConnEventQueue
- type ConnId
- type EncryptConfig
- type ProxySession
- type ServerConfig
- type SessionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEventQueueSize ¶
func GetEventQueueSize() int
func GetSessionTableSize ¶
func GetSessionTableSize() int
func HandleRequestBuffer ¶
func ReleaseEventQueue ¶
func ReleaseEventQueue(q *ConnEventQueue)
Types ¶
type ConnContext ¶
func NewConnContext ¶
func NewConnContext() *ConnContext
type ConnEventQueue ¶
type ConnEventQueue struct { event.EventQueue // contains filtered or unexported fields }
func GetEventQueue ¶
func GetEventQueue(cid ConnId, createIfMissing bool) *ConnEventQueue
type EncryptConfig ¶
type ProxySession ¶
type ServerConfig ¶
type ServerConfig struct { Listen string AdminListen string Auth []string Encrypt EncryptConfig Log []string }
var ServerConf ServerConfig
func (*ServerConfig) VerifyUser ¶
func (conf *ServerConfig) VerifyUser(user string) bool
Click to show internal directories.
Click to hide internal directories.