MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / init

Function init

p2p/switch_test.go:32–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30var cfg *config.P2PConfig
31
32func init() {
33 cfg = config.DefaultP2PConfig()
34 cfg.PexReactor = true
35 cfg.AllowDuplicateIP = true
36}
37
38type PeerMessage struct {
39 Contents proto.Message

Callers

nothing calls this directly

Calls 1

DefaultP2PConfigFunction · 0.92

Tested by

no test coverage detected