github.com/Ryan-Johnson-1315/socketlogger@v0.0.2/comms.go (about) 1 package socketlogger 2 3 import ( 4 "net" 5 ) 6 7 type comms struct { 8 sock net.Conn 9 connectionProtocol string // TCP/UDP 10 }