Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxTCPBufSize = 65536 ConnReadTimeout = 1 * time.Second ConnWriteTimeout = 1 * time.Second )
Variables ¶
View Source
var ( TcpRespAcpt = []byte("ACCEPTED") TcpRespSent = []byte("SENT") TcpRespPsnt = []byte("PART_SENT") TcpRespFail = []byte("FAILED") TcpRespInvd = []byte("INVALID") TcpRespTime = []byte("TIMEOUT") TcpRespUnrt = []byte("UNROUTABLE") TcpRespThrt = []byte("THROTTLED") ErrMalformedPacket = fmt.Errorf("Malformed packet") ErrEmptyBody = fmt.Errorf("Empty message body") TcpMsgSendTimeout = 100 * time.Millisecond )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.