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

Struct StreamServer

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

Source from the content-addressed store, hash-verified

31)
32
33type StreamServer struct {
34 Client 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 NewStreamServer(password []byte, src string, client net.Conn, timeout, udptimeout int) (Exchanger, error) {
48 if timeout != 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected