MCPcopy
hub / github.com/hashicorp/memberlist / MockTransport

Struct MockTransport

mock_transport.go:66–71  ·  view source on GitHub ↗

MockTransport directly plumbs messages to other transports its MockNetwork.

Source from the content-addressed store, hash-verified

64
65// MockTransport directly plumbs messages to other transports its MockNetwork.
66type MockTransport struct {
67 net *MockNetwork
68 addr *MockAddress
69 packetCh chan *Packet
70 streamCh chan net.Conn
71}
72
73var _ NodeAwareTransport = (*MockTransport)(nil)
74

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected