Searched defs:recordingConn (Results 1 – 1 of 1) sorted by relevance
46 type recordingConn struct { struct47 net.Conn48 sync.Mutex49 flows []flow50 isDatagram bool51 local, peer string54 func (r *recordingConn) appendFlow(flowType flowType, message string, data []byte) {67 func (r *recordingConn) Read(b []byte) (n int, err error) {75 func (r *recordingConn) Write(b []byte) (n int, err error) {84 func (r *recordingConn) LogSpecial(message string, data []byte) {[all …]