Documentation ¶
Index ¶
- type CustomNetTransport
- func (t *CustomNetTransport) DialTimeout(addr string, timeout time.Duration) (net.Conn, error)
- func (t *CustomNetTransport) Exit()
- func (t *CustomNetTransport) FinalAdvertiseAddr(ip string, port int) (net.IP, int, error)
- func (t *CustomNetTransport) PacketCh() <-chan *memberlist.Packet
- func (t *CustomNetTransport) Shutdown() error
- func (t *CustomNetTransport) StreamCh() <-chan net.Conn
- func (t *CustomNetTransport) WriteTo(b []byte, addr string) (time.Time, error)
- type TestNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomNetTransport ¶
type CustomNetTransport struct { NetTransport *memberlist.NetTransport // contains filtered or unexported fields }
func NewCustomNetTransport ¶
func NewCustomNetTransport(config *memberlist.NetTransportConfig) (*CustomNetTransport, error)
func (*CustomNetTransport) DialTimeout ¶
func (*CustomNetTransport) Exit ¶
func (t *CustomNetTransport) Exit()
func (*CustomNetTransport) FinalAdvertiseAddr ¶
func (*CustomNetTransport) PacketCh ¶
func (t *CustomNetTransport) PacketCh() <-chan *memberlist.Packet
func (*CustomNetTransport) Shutdown ¶
func (t *CustomNetTransport) Shutdown() error
func (*CustomNetTransport) StreamCh ¶
func (t *CustomNetTransport) StreamCh() <-chan net.Conn
type TestNode ¶
func (*TestNode) ListMembers ¶
Click to show internal directories.
Click to hide internal directories.