Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
ListenTCP int `json:"ListenTCP"`
ListenUDP int `json:"ListenUDP"`
Reverse bool `json:"Reverse"`
ReverseRandomPorts bool `json:"ReverseRandomPorts"`
ReverseMaxPrice string `json:"ReverseMaxPrice"`
DialTimeout uint16 `json:"DialTimeout"`
UDPTimeout uint16 `json:"UDPTimeout"`
Seed string `json:"Seed"`
SubscriptionPrefix string `json:"SubscriptionPrefix"`
SubscriptionDuration uint32 `json:"SubscriptionDuration"`
SubscriptionFee string `json:"SubscriptionFee"`
ClaimInterval uint32 `json:"ClaimInterval"`
Services map[string]ServiceInfo `json:"Services"`
}
type ServiceInfo ¶
type TunaExit ¶
type TunaExit struct {
// contains filtered or unexported fields
}
func NewTunaExit ¶
func NewTunaExit(config Configuration, services []Service, wallet *WalletSDK) *TunaExit
func (*TunaExit) GetReverseIP ¶
func (*TunaExit) GetReverseTCPPorts ¶
func (*TunaExit) GetReverseUDPPorts ¶
func (*TunaExit) OnEntryConnected ¶
func (te *TunaExit) OnEntryConnected(callback func())
func (*TunaExit) StartReverse ¶
Click to show internal directories.
Click to hide internal directories.