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

Struct StreamClient

streamclient.go:33–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31)
32
33type StreamClient struct {
34 Server net.Conn
35 cn []byte
36 ca cipher.AEAD
37 sn []byte
38 sa cipher.AEAD
39 RB []byte
40 WB []byte
41 Timeout int
42 network string
43 src string
44 dst string
45}
46
47func NewStreamClient(network string, password []byte, src string, server net.Conn, timeout int, dst []byte) (Exchanger, error) {
48 if timeout != 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected