Searched defs:recordingConn (Results 1 – 1 of 1) sorted by relevance
32 type recordingConn struct { struct33 net.Conn34 sync.Mutex35 flows []flow36 isDatagram bool37 local, peer string40 func (r *recordingConn) appendFlow(flowType flowType, message string, data []byte) {53 func (r *recordingConn) Read(b []byte) (n int, err error) {61 func (r *recordingConn) Write(b []byte) (n int, err error) {70 func (r *recordingConn) LogSpecial(message string, data []byte) {[all …]