MCPcopy
hub / github.com/txthinking/brook / SimplePacketClient

Struct SimplePacketClient

simplepacketclient.go:26–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24)
25
26type SimplePacketClient struct {
27 Server net.Conn
28 Password []byte
29 RB []byte
30 WB []byte
31 Timeout int
32 src string
33 dst string
34 dstl int
35}
36
37func NewSimplePacketClient(password []byte, src string, server net.Conn, timeout int, dst []byte) (Exchanger, error) {
38 s := &SimplePacketClient{Password: password, Server: server, Timeout: timeout, src: src}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected