MCPcopy Create free account

hub / github.com/DonnchaC/oniongateway / functions

Functions76 in github.com/DonnchaC/oniongateway

↓ 18 callersMethodAddr
()
entry_proxy/proxy.go:104
↓ 8 callersFunctiongetHostPort
(location string)
check_entry_proxy/checker_test.go:151
↓ 7 callersMethodCheckEntryProxy
CheckEntryProxy checks entry_proxy instance
check_entry_proxy/checker.go:105
↓ 7 callersMethodCheckRedirect
CheckRedirect checks if redirect works
check_entry_proxy/checker.go:125
↓ 7 callersMethodDial
(string)
entry_proxy/proxy.go:26
↓ 7 callersFunctionmakeRedirectingHTTPServer
(code, port int, overrideHost string)
check_entry_proxy/checker_test.go:127
↓ 5 callersMethodListen
(listenNet, listenAddr string)
entry_proxy/proxy.go:85
↓ 5 callersFunctionNewDnsHostToOnionResolver
()
entry_proxy/resolve_to_onion.go:29
↓ 3 callersFunctionNewRedirect
NewRedirect returns redirecting HTTP server, which listens on `listenOn` and redirects to `redirectTo`. Entry proxy is expected to listen on `redirect
entry_proxy/redirect.go:14
↓ 3 callersMethodResolveToOnion
(hostname string)
entry_proxy/resolve_to_onion.go:36
↓ 3 callersFunctionmakeMockChecker
( expectedText, observedText, url string, )
check_entry_proxy/checker_test.go:25
↓ 3 callersFunctionmakeRealChecker
( expectedText, observedText string, )
check_entry_proxy/checker_test.go:83
↓ 2 callersMethodCheckHost
CheckHost checks both redirect and proxy
check_entry_proxy/checker.go:159
↓ 2 callersMethodLookupTXT
(string)
entry_proxy/resolve_to_onion.go:10
↓ 2 callersFunctionNewSocksDialer
(proxyNet, proxyAddr string)
entry_proxy/proxy.go:35
↓ 2 callersFunctionNewTLSProxy
( onionPort int, proxyNet, proxyAddr string, resolver HostToOnionResolver, )
entry_proxy/proxy.go:69
↓ 2 callersMethodServerNameFromConn
(c net.Conn)
entry_proxy/proxy.go:15
↓ 2 callersMethodStart
()
entry_proxy/proxy.go:93
↓ 2 callersFunctiongetResponse
(theURL string, client http.Client)
check_entry_proxy/checker.go:61
↓ 2 callersMethodmakeHTTPClient
(address string)
check_entry_proxy/checker.go:28
↓ 2 callersFunctionmakeHTTPServer
(observedText string)
check_entry_proxy/checker_test.go:14
↓ 1 callersMethodDial
(targetServer string)
entry_proxy/proxy.go:47
↓ 1 callersMethodError
()
util/ignore_redirect.go:11
↓ 1 callersFunctionIsRedirectError
IsRedirectError returns if error of client.Get is the ignored redirect
util/ignore_redirect.go:24
↓ 1 callersFunctionNewAccumulatingListener
(net, address string)
entry_proxy/proxy_test.go:113
↓ 1 callersFunctionNewMockProxyDialer
(proxyNet, proxyAddr string)
entry_proxy/proxy_test.go:168
↓ 1 callersFunctionNewMortalService
NewMortalService creates a new MortalService
entry_proxy/proxy_test.go:26
↓ 1 callersFunctionNewSubdomainResolver
(parent_domain string)
entry_proxy/subdomain_resolver.go:14
↓ 1 callersMethodProcessRequest
(clientConn net.Conn)
entry_proxy/proxy.go:108
↓ 1 callersMethodResolveToOnion
(hostname string)
entry_proxy/resolve_to_onion.go:21
↓ 1 callersMethodStart
Start the MortalService
entry_proxy/proxy_test.go:40
↓ 1 callersMethodStart
()
entry_proxy/proxy_test.go:124
↓ 1 callersMethodStop
Stop will kill our listener and all it's connections
entry_proxy/proxy_test.go:53
↓ 1 callersMethodStop
()
entry_proxy/proxy_test.go:132
↓ 1 callersMethodacceptLoop
()
entry_proxy/proxy_test.go:62
↓ 1 callersFunctioncheckResponse
(rule Rule, body string)
check_entry_proxy/checker.go:92
↓ 1 callersMethodchooseRedirectURL
()
check_entry_proxy/checker.go:52
↓ 1 callersMethodchooseRule
()
check_entry_proxy/checker.go:44
↓ 1 callersFunctiongetLocation
(url string, client http.Client)
check_entry_proxy/checker.go:77
↓ 1 callersMethodhandleConnection
(conn net.Conn, id int)
entry_proxy/proxy_test.go:90
MethodDial
(targetServer string)
entry_proxy/proxy_test.go:176
FunctionIgnoreRedirect
IgnoreRedirect always returns special error type. Provide CheckRedirect=IgnoreRedirect to http.Client to prevent it from following redirects. Use IsRe
util/ignore_redirect.go:19
MethodLookupTXT
(hostname string)
entry_proxy/resolve_to_onion.go:15
MethodLookupTXT
(hostname string)
entry_proxy/resolve_to_onion_test.go:10
MethodLookupTXT
(hostname string)
entry_proxy/resolve_to_onion_test.go:25
MethodLookupTXT
(hostname string)
entry_proxy/resolve_to_onion_test.go:40
MethodLookupTXT
(hostname string)
entry_proxy/proxy_test.go:159
MethodResolveToOnion
(host string)
entry_proxy/static_resolver.go:13
MethodResolveToOnion
(host string)
entry_proxy/subdomain_resolver.go:21
MethodServerNameFromConn
(clientConn net.Conn)
entry_proxy/proxy.go:20
MethodServerNameFromConn
(clientConn net.Conn)
entry_proxy/proxy_test.go:153
MethodSessionWorker
(conn net.Conn)
entry_proxy/proxy_test.go:137
FunctionTestCheckEntryProxy
(t *testing.T)
check_entry_proxy/checker_test.go:44
FunctionTestCheckEntryProxyEmptyRules
(t *testing.T)
check_entry_proxy/checker_test.go:119
FunctionTestCheckEntryProxyFailDownloading
(t *testing.T)
check_entry_proxy/checker_test.go:70
FunctionTestCheckEntryProxyFailNotContains
(t *testing.T)
check_entry_proxy/checker_test.go:57
FunctionTestCheckEntryProxyReal
(t *testing.T)
check_entry_proxy/checker_test.go:101
FunctionTestCheckEntryProxyRealFail
(t *testing.T)
check_entry_proxy/checker_test.go:110
FunctionTestCheckHost
(t *testing.T)
check_entry_proxy/checker_test.go:261
FunctionTestCheckRedirect
(t *testing.T)
check_entry_proxy/checker_test.go:164
FunctionTestCheckRedirectEmptyRules
(t *testing.T)
check_entry_proxy/checker_test.go:249
FunctionTestCheckRedirectNonStandardPort
(t *testing.T)
check_entry_proxy/checker_test.go:181
FunctionTestCheckRedirectOtherHTTPStatus
(t *testing.T)
check_entry_proxy/checker_test.go:232
FunctionTestCheckRedirectOtherHost
(t *testing.T)
check_entry_proxy/checker_test.go:198
FunctionTestCheckRedirectOtherPort
(t *testing.T)
check_entry_proxy/checker_test.go:215
FunctionTestEmptyMockTxtResolver
(t *testing.T)
entry_proxy/resolve_to_onion_test.go:14
FunctionTestIgnoreRedirect
(t *testing.T)
util/ignore_redirect_test.go:10
FunctionTestNewRedirect
(t *testing.T)
entry_proxy/redirect_test.go:14
FunctionTestNoOnionsMockTxtResolver
(t *testing.T)
entry_proxy/resolve_to_onion_test.go:29
FunctionTestPassThrough
(t *testing.T)
entry_proxy/redirect_test.go:59
FunctionTestTLSProxy
(t *testing.T)
entry_proxy/proxy_test.go:181
FunctionTestThrowingMockTxtResolver
(t *testing.T)
entry_proxy/resolve_to_onion_test.go:44
FunctioncryptoRandInt
(upperBound int)
check_entry_proxy/main.go:14
Functionmain
This module does nothing and is needed for go test github.com/DonnchaC/oniongateway/...
main.go:6
Functionmain
()
check_entry_proxy/main.go:45
Functionmain
()
entry_proxy/main.go:22