Skip to content

martian: do not pass brw and conn as function parameters #524

@mmatczuk

Description

@mmatczuk

I suggest we add sth like

type proxyConn struct {
	*Proxy
	conn net.Conn
	brw  *bufio.ReadWriter
}

and define all functions that need a connection there.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions