MCPcopy Index your code
hub / github.com/txthinking/brook / PacketClient

Struct PacketClient

packetclient.go:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31)
32
33type PacketClient struct {
34 Server net.Conn
35 Password []byte
36 RB []byte
37 WB []byte
38 Timeout int
39 src string
40 dstb []byte
41}
42
43func NewPacketClient(password []byte, src string, server net.Conn, timeout int, dstb []byte) (Exchanger, error) {
44 s := &PacketClient{Password: password, Server: server, Timeout: timeout, src: src}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected