Documentation ¶
Index ¶
- Constants
- func DumpAllQueue(wr io.Writer)
- func DumpAllSession(wr io.Writer)
- 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
- type TLServerConfig
Constants ¶
View Source
const Version = "r4"
'r1' means revision 1
Variables ¶
This section is empty.
Functions ¶
func DumpAllQueue ¶
func DumpAllSession ¶
func GetEventQueueSize ¶
func GetEventQueueSize() int
func GetSessionTableSize ¶
func GetSessionTableSize() int
func HandleRequestBuffer ¶
func ReleaseEventQueue ¶
func ReleaseEventQueue(q *ConnEventQueue)
Types ¶
type ConnContext ¶
type ConnContext struct { event.CryptoContext ConnId //IV uint64 EncryptMethod int Closing bool }
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 MaxDynamicPort int DynamicPortLifeCycle int CandidateDynamicPort []int Auth []string Encrypt EncryptConfig Log []string TLS TLServerConfig }
var ServerConf ServerConfig
func (*ServerConfig) VerifyUser ¶
func (conf *ServerConfig) VerifyUser(user string) bool
type TLServerConfig ¶ added in v0.25.0
Click to show internal directories.
Click to hide internal directories.