MCPcopy Index your code
hub / github.com/DOSNetwork/core / DisConnectTo

Method DisConnectTo

p2p/p2p_interface.go:43–43  ·  view source on GitHub ↗
(id []byte)

Source from the content-addressed store, hash-verified

41 Listen() error
42 Join(bootstrapIp []string) (num int, err error)
43 DisConnectTo(id []byte) error
44 Leave()
45 Request(ctx context.Context, id []byte, m proto.Message) (msg P2PMessage, err error)
46 Reply(ctx context.Context, id []byte, nonce uint64, m proto.Message) (err error)

Callers 1

TestServerFunction · 0.65

Implementers 1

serverp2p/server.go

Calls

no outgoing calls

Tested by 1

TestServerFunction · 0.52