Documentation ¶
Index ¶
- func CancelLocalServiceEvent(id string)
- func CancelLocalTunnelEvent(id string)
- func CancelRemoteServiceEvent(id string)
- func CancelRemoteTunnelEvent(id string)
- func CheckDohs(isDirect bool, b []byte, domain string, s Stream)
- func CheckPassMode(t byte, addr string) byte
- func CheckPoints(b []byte, s Stream)
- func CheckProxyMode(b []byte) byte
- func ClearLocalTunnels()
- func CloseLocalTunnel(id string)
- func DnsLocalQuery(b []byte) []byte
- func DnsMustQuery(b []byte) []byte
- func DnsRemoteQuery(b []byte) []byte
- func LocalStat() []byte
- func LocalStatTunnel() []byte
- func ParseQueryDomain(b []byte) string
- func QueryRule(host string) byte
- func SetConfig(bytes []byte) (s string)
- func SetRule(host string, mode byte)
- func StartLocal()
- func StartRemote()
- func StopLocal()
- func StopRemote()
- func SubLocalServiceEvent(s Stream) string
- func SubLocalTunnelEvent(s Stream) string
- func SubRemoteServiceEvent(s Stream) string
- func SubRemoteTunnelEvent(s Stream) string
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelLocalServiceEvent ¶
func CancelLocalServiceEvent(id string)
func CancelLocalTunnelEvent ¶
func CancelLocalTunnelEvent(id string)
func CancelRemoteServiceEvent ¶
func CancelRemoteServiceEvent(id string)
func CancelRemoteTunnelEvent ¶
func CancelRemoteTunnelEvent(id string)
func CheckPassMode ¶
func CheckPoints ¶
func CheckProxyMode ¶
func ClearLocalTunnels ¶
func ClearLocalTunnels()
func CloseLocalTunnel ¶
func CloseLocalTunnel(id string)
func DnsLocalQuery ¶
func DnsMustQuery ¶
func DnsRemoteQuery ¶
func LocalStatTunnel ¶
func LocalStatTunnel() []byte
func ParseQueryDomain ¶
func StartLocal ¶
func StartLocal()
func StartRemote ¶
func StartRemote()
func StopRemote ¶
func StopRemote()
func SubLocalServiceEvent ¶
func SubLocalTunnelEvent ¶
func SubRemoteServiceEvent ¶
func SubRemoteTunnelEvent ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.