Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Olament/gDHT
/ types & classes
Types & classes
47 in github.com/Olament/gDHT
⨍
Functions
228
◇
Types & classes
47
Class
web/src/components/list.js:29
Class
web/src/components/searchbar.js:12
Class
web/src/components/search.js:6
Class
web/src/components/listbar.js:3
Class
web/src/components/listitem.js:3
Struct
BitTorrent
service/bittorrent.pb.go:66
Interface
BitTorrentClient
BitTorrentClient is the client API for BitTorrent service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pk
service/bittorrent_grpc.pb.go:19
Interface
BitTorrentServer
BitTorrentServer is the server API for BitTorrent service. All implementations must embed UnimplementedBitTorrentServer for forward compatibility
service/bittorrent_grpc.pb.go:43
Struct
Config
Config represents the configure of dht.
crawler/dht/dht.go:29
Struct
DHT
DHT represents a DHT node.
crawler/dht/dht.go:117
Struct
Empty
service/bittorrent.pb.go:28
Struct
File
service/bittorrent.pb.go:137
Class
ListItem
web/src/components/listitem.js:3
Struct
Peer
Peer represents a peer contact.
crawler/dht/routingtable.go:66
Struct
Request
Request represents the request context.
crawler/dht/peerwire.go:149
Struct
Response
Response contains the request context and the metadata info.
crawler/dht/peerwire.go:156
Class
Search
web/src/components/search.js:6
Class
SearchBar
web/src/components/searchbar.js:12
Struct
UnimplementedBitTorrentServer
UnimplementedBitTorrentServer must be embedded to have forward compatible implementations.
service/bittorrent_grpc.pb.go:49
Struct
Wire
Wire represents the wire protocol.
crawler/dht/peerwire.go:162
Struct
bitTorrent
crawler/main.go:21
Struct
bitTorrentClient
service/bittorrent_grpc.pb.go:23
Struct
bitdata
server/main.go:26
Struct
bitmap
bitmap represents a bit array.
crawler/dht/bitmap.go:10
Struct
blackList
blackList manages the blocked nodes including which sends bad information and can't ping out.
crawler/dht/blacklist.go:16
Struct
blockedItem
blockedItem represents a blocked node.
crawler/dht/blacklist.go:8
Struct
file
server/main.go:21
Struct
file
crawler/main.go:16
Struct
heapItem
Implementation of heap with heap.Interface.
crawler/dht/routingtable.go:542
Struct
kbucket
kbucket represents a k-size bucket.
crawler/dht/routingtable.go:150
Struct
keyedDeque
KeyedDeque represents a keyed deque.
crawler/dht/container.go:206
Struct
mapItem
crawler/dht/container.go:8
Struct
node
node represents a DHT node.
crawler/dht/routingtable.go:16
Struct
packet
packet represents the information receive from udp.
crawler/dht/krpc.go:26
Struct
peersManager
peersManager represents a proxy that manipulates peers.
crawler/dht/routingtable.go:99
Struct
query
query represents the query data included queried node and query-formed data.
crawler/dht/krpc.go:139
Struct
routingTable
routingTable implements the routing table in DHT protocol.
crawler/dht/routingtable.go:327
Struct
routingTableNode
routingTableNode represents routing table tree node.
crawler/dht/routingtable.go:243
Struct
server
server/main.go:17
Struct
syncedList
syncedList represents a goroutine-safe list.
crawler/dht/container.go:102
Struct
syncedMap
syncedMap represents a goroutine-safe map.
crawler/dht/container.go:14
Struct
token
token represents the token when response getPeers request.
crawler/dht/krpc.go:32
Struct
tokenManager
tokenManager managers the tokens.
crawler/dht/krpc.go:38
TypeAlias
topKHeap
crawler/dht/routingtable.go:547
Struct
transaction
transaction implements transaction.
crawler/dht/krpc.go:145
Struct
transactionManager
transactionManager represents the manager of transactions.
crawler/dht/krpc.go:152
Struct
x
service/bittorrent.pb.go:289