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

Struct SimplePacketServer

simplepacketserver.go:25–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected