MCPcopy Create free account

hub / github.com/cretz/tor-dht-poc / functions

Functions70 in github.com/cretz/tor-dht-poc

↓ 11 callersMethoddebugf
(format string, args ...interface{})
go-tor-dht-poc/tordht/ipfs/dht.go:71
↓ 6 callersMethodClose
()
go-tor-dht-poc/tordht/ipfs/dht.go:29
↓ 4 callersMethodPeerInfo
()
go-tor-dht-poc/tordht/tordht.go:30
↓ 3 callersMethodClose
Close closes the connection. Only the first call to Close will receive the close error, subsequent and concurrent calls will return nil. This method i
go-tor-dht-poc/tordht/ipfs/websocket/conn.go:85
↓ 3 callersMethodProvide
(ctx context.Context, id []byte)
go-tor-dht-poc/tordht/tordht.go:31
↓ 3 callersFunctioncallback
(err, peers)
js-tor-dht-poc/index.js:99
↓ 3 callersMethodhashedCID
(v []byte)
go-tor-dht-poc/tordht/ipfs/impl.go:101
↓ 3 callersMethodonionInfo
(addr ma.Multiaddr)
go-tor-dht-poc/tordht/ipfs/addr_format.go:14
↓ 2 callersMethodNewDHT
(ctx context.Context, conf *DHTConf)
go-tor-dht-poc/tordht/tordht.go:17
↓ 2 callersMethodString
()
go-tor-dht-poc/tordht/tordht.go:43
↓ 2 callersMethodUpgrade
(u *upgrader.Upgrader)
go-tor-dht-poc/tordht/ipfs/transport.go:196
↓ 2 callersMethodmakePeerInfo
(id peer.ID, addr ma.Multiaddr)
go-tor-dht-poc/tordht/ipfs/dht.go:91
↓ 2 callersMethodonionAddr
(id string, port int)
go-tor-dht-poc/tordht/ipfs/addr_format.go:15
↓ 2 callersMethodprepNextReader
()
go-tor-dht-poc/tordht/ipfs/websocket/conn.go:55
↓ 2 callersFunctionstartTor
(ctx context.Context, dataDir string)
go-tor-dht-poc/main.go:134
↓ 1 callersMethodApplyDebugLogging
()
go-tor-dht-poc/tordht/tordht.go:15
↓ 1 callersMethodClose
()
go-tor-dht-poc/tordht/ipfs/transport.go:193
↓ 1 callersMethodFindProviders
(ctx context.Context, id []byte, maxCount int)
go-tor-dht-poc/tordht/tordht.go:32
↓ 1 callersMethodListen
(laddr ma.Multiaddr)
go-tor-dht-poc/tordht/ipfs/transport.go:126
↓ 1 callersMethodMultiaddr
()
go-tor-dht-poc/tordht/ipfs/transport.go:195
↓ 1 callersFunctionNewConn
NewConn creates a Conn given a regular gorilla/websocket Conn.
go-tor-dht-poc/tordht/ipfs/websocket/conn.go:117
↓ 1 callersFunctionNewTorTransport
(bineTor *tor.Tor, conf *TorTransportConf)
go-tor-dht-poc/tordht/ipfs/transport.go:46
↓ 1 callersMethodRawStringDataID
(id []byte)
go-tor-dht-poc/tordht/tordht.go:16
↓ 1 callersMethodSetReadDeadline
(t time.Time)
go-tor-dht-poc/tordht/ipfs/websocket/conn.go:108
↓ 1 callersMethodSetWriteDeadline
(t time.Time)
go-tor-dht-poc/tordht/ipfs/websocket/conn.go:112
↓ 1 callersMethodaddPeer
(peerInfo *tordht.PeerInfo)
go-tor-dht-poc/tordht/ipfs/dht.go:153
↓ 1 callersMethodapplyPeerInfo
()
go-tor-dht-poc/tordht/ipfs/dht.go:77
↓ 1 callersMethodconnectPeer
(ctx context.Context, peerInfo *tordht.PeerInfo)
go-tor-dht-poc/tordht/ipfs/dht.go:145
↓ 1 callersMethodconnectPeers
(ctx context.Context, peers []*tordht.PeerInfo, minRequired int)
go-tor-dht-poc/tordht/ipfs/dht.go:100
↓ 1 callersFunctioncreateOrLoadKey
()
js-tor-dht-poc/main.go:73
↓ 1 callersFunctionfind
(args []string)
go-tor-dht-poc/main.go:93
↓ 1 callersMethodinitDialers
(ctx context.Context)
go-tor-dht-poc/tordht/ipfs/transport.go:98
↓ 1 callersFunctionipfsAddressToPeer
(id, addr)
js-tor-dht-poc/index.js:66
↓ 1 callersFunctionpeerToIpfsAddress
(peer)
js-tor-dht-poc/index.js:54
↓ 1 callersFunctionprovide
(args []string)
go-tor-dht-poc/main.go:41
↓ 1 callersFunctionrawid
(args []string)
go-tor-dht-poc/main.go:144
↓ 1 callersFunctionrun
()
go-tor-dht-poc/main.go:27
↓ 1 callersFunctionrun
()
js-tor-dht-poc/main.go:25
↓ 1 callersMethodserve
()
go-tor-dht-poc/tordht/ipfs/websocket/listener.go:27
MethodAccept
()
go-tor-dht-poc/tordht/ipfs/transport.go:182
MethodAccept
()
go-tor-dht-poc/tordht/ipfs/websocket/listener.go:70
MethodAddr
()
go-tor-dht-poc/tordht/ipfs/transport.go:194
MethodApplyDebugLogging
()
go-tor-dht-poc/tordht/ipfs/impl.go:27
MethodCanDial
(addr ma.Multiaddr)
go-tor-dht-poc/tordht/ipfs/transport.go:120
MethodDial
(ctx context.Context, raddr ma.Multiaddr, p peer.ID)
go-tor-dht-poc/tordht/ipfs/transport.go:56
MethodFindProviders
(ctx context.Context, id []byte, maxCount int)
go-tor-dht-poc/tordht/ipfs/dht.go:53
MethodLocalMultiaddr
()
go-tor-dht-poc/tordht/ipfs/transport.go:206
MethodNewDHT
(ctx context.Context, conf *tordht.DHTConf)
go-tor-dht-poc/tordht/ipfs/impl.go:40
FunctionNewPeerInfo
(str string)
go-tor-dht-poc/tordht/tordht.go:47
MethodPeerInfo
()
go-tor-dht-poc/tordht/ipfs/dht.go:42
MethodProtocols
()
go-tor-dht-poc/tordht/ipfs/transport.go:172
MethodProvide
(ctx context.Context, id []byte)
go-tor-dht-poc/tordht/ipfs/dht.go:44
MethodProxy
()
go-tor-dht-poc/tordht/ipfs/transport.go:173
MethodRawStringDataID
(id []byte)
go-tor-dht-poc/tordht/ipfs/impl.go:32
MethodRead
(b []byte)
go-tor-dht-poc/tordht/ipfs/websocket/conn.go:27
MethodRemoteMultiaddr
()
go-tor-dht-poc/tordht/ipfs/transport.go:207
MethodServeHTTP
(w http.ResponseWriter, r *http.Request)
go-tor-dht-poc/tordht/ipfs/websocket/listener.go:32
MethodSetDeadline
(t time.Time)
go-tor-dht-poc/tordht/ipfs/websocket/conn.go:100
FunctionStartNewListener
(l net.Listener)
go-tor-dht-poc/tordht/ipfs/websocket/exposed.go:7
MethodWrite
(b []byte)
go-tor-dht-poc/tordht/ipfs/websocket/conn.go:74
Methodconstructor
(peerInfo, bootstrapPeer)
js-tor-dht-poc/index.js:13
Functioninit
()
go-tor-dht-poc/tordht/ipfs/protocol.go:18
Functionmain
()
go-tor-dht-poc/main.go:21
Functionmain
()
js-tor-dht-poc/main.go:19
MethodonionAddr
(id string, port int)
go-tor-dht-poc/tordht/ipfs/addr_format.go:36
MethodonionAddr
(id string, port int)
go-tor-dht-poc/tordht/ipfs/addr_format.go:59
FunctiononionBytesToString
(byts []byte)
go-tor-dht-poc/tordht/ipfs/protocol.go:41
MethodonionInfo
(addr ma.Multiaddr)
go-tor-dht-poc/tordht/ipfs/addr_format.go:24
MethodonionInfo
(addr ma.Multiaddr)
go-tor-dht-poc/tordht/ipfs/addr_format.go:43
FunctiononionStringToBytes
(str string)
go-tor-dht-poc/tordht/ipfs/protocol.go:36