Documentation ¶
Index ¶
- func NewUDPHandler() core.UDPConnHandler
- type AndroidError
- type PacketFlow
- type RelaybatonAndroid
- func (android *RelaybatonAndroid) GetClientPassword() string
- func (android *RelaybatonAndroid) GetClientProxyAll() bool
- func (android *RelaybatonAndroid) GetClientServer() string
- func (android *RelaybatonAndroid) GetClientUsername() string
- func (android *RelaybatonAndroid) GetDNSAddr() string
- func (android *RelaybatonAndroid) GetDNSServer() string
- func (android *RelaybatonAndroid) GetDNSType() string
- func (android *RelaybatonAndroid) GetLogLevel() string
- func (android *RelaybatonAndroid) InputPacket(data []byte)
- func (android *RelaybatonAndroid) Run() error
- func (android *RelaybatonAndroid) Save(clientServer string, clientUser string, clientPassword string, ...) error
- func (android *RelaybatonAndroid) Shutdown() error
- func (android *RelaybatonAndroid) StartSocks(packetFlow PacketFlow, proxyHost string, proxyPort int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUDPHandler ¶
func NewUDPHandler() core.UDPConnHandler
Types ¶
type AndroidError ¶
type AndroidError struct {
// contains filtered or unexported fields
}
func (*AndroidError) Error ¶
func (err *AndroidError) Error() string
type PacketFlow ¶
type PacketFlow interface {
WritePacket(packet []byte)
}
type RelaybatonAndroid ¶
type RelaybatonAndroid struct {
// contains filtered or unexported fields
}
func NewAndroid ¶
func NewAndroid(conf string) (*RelaybatonAndroid, error)
func (*RelaybatonAndroid) GetClientPassword ¶
func (android *RelaybatonAndroid) GetClientPassword() string
func (*RelaybatonAndroid) GetClientProxyAll ¶
func (android *RelaybatonAndroid) GetClientProxyAll() bool
func (*RelaybatonAndroid) GetClientServer ¶
func (android *RelaybatonAndroid) GetClientServer() string
func (*RelaybatonAndroid) GetClientUsername ¶
func (android *RelaybatonAndroid) GetClientUsername() string
func (*RelaybatonAndroid) GetDNSAddr ¶
func (android *RelaybatonAndroid) GetDNSAddr() string
func (*RelaybatonAndroid) GetDNSServer ¶
func (android *RelaybatonAndroid) GetDNSServer() string
func (*RelaybatonAndroid) GetDNSType ¶
func (android *RelaybatonAndroid) GetDNSType() string
func (*RelaybatonAndroid) GetLogLevel ¶
func (android *RelaybatonAndroid) GetLogLevel() string
func (*RelaybatonAndroid) InputPacket ¶
func (android *RelaybatonAndroid) InputPacket(data []byte)
func (*RelaybatonAndroid) Run ¶
func (android *RelaybatonAndroid) Run() error
func (*RelaybatonAndroid) Shutdown ¶
func (android *RelaybatonAndroid) Shutdown() error
func (*RelaybatonAndroid) StartSocks ¶
func (android *RelaybatonAndroid) StartSocks(packetFlow PacketFlow, proxyHost string, proxyPort int)
Click to show internal directories.
Click to hide internal directories.