Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientState ¶
type ClientState uint8
const ( None ClientState = iota Connected Fallback Authorized Simple Obfuscated Middleproxy )
type Stats ¶
type Stats struct {
// contains filtered or unexported fields
}
func (*Stats) AllocClient ¶
func (s *Stats) AllocClient() *StatsHandle
type StatsHandle ¶
type StatsHandle struct {
// contains filtered or unexported fields
}
func (*StatsHandle) Close ¶
func (sh *StatsHandle) Close()
func (*StatsHandle) SetAuthorized ¶
func (sh *StatsHandle) SetAuthorized(name string)
func (*StatsHandle) SetConnected ¶
func (sh *StatsHandle) SetConnected(cliSock *net.TCPConn)
func (*StatsHandle) SetState ¶
func (sh *StatsHandle) SetState(state ClientState)
Click to show internal directories.
Click to hide internal directories.