Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeRandomField ¶
func MakeSessionTicket ¶
Types ¶
type State ¶
type State struct { SS_LOCAL_HOST string SS_LOCAL_PORT string SS_REMOTE_HOST string SS_REMOTE_PORT string Now func() time.Time UID []byte TicketTimeHint int ServerName string MaskBrowser string NumConn int // contains filtered or unexported fields }
State stores global variables
func (*State) ParseConfig ¶
ParseConfig parses the config (either a path to json or Android config) into a State variable
func (*State) SetSessionID ¶
Click to show internal directories.
Click to hide internal directories.