Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthReq uint8 = iota AuthRes NewConReq NewConRes Ping Pong )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthReqMsg ¶
type AuthReqMsg struct {
Token string // tunnel token
}
type AuthResMsg ¶
type AuthResMsg struct {
PublicAddr string // secret token
}
type Con ¶
func (*Con) WritePacket ¶
type NewConReqMsg ¶
type NewConReqMsg struct {
Session string
}
type NewConResMsg ¶
type NewConResMsg struct {
Session string
}
Click to show internal directories.
Click to hide internal directories.