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

Struct SimpleStreamServer

simplestreamserver.go:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27)
28
29type SimpleStreamServer struct {
30 Client net.Conn
31 Timeout int
32 RB []byte
33 WB []byte
34 network string
35 src string
36 dst string
37}
38
39func NewSimpleStreamServer(password []byte, src string, client net.Conn, timeout, udptimeout int) (Exchanger, error) {
40 if timeout != 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected