Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageOpt ¶
type MessageOpt struct {
Message
}
func (*MessageOpt) ContentTotalSize ¶
func (m *MessageOpt) ContentTotalSize() int
func (*MessageOpt) Direction ¶
func (m *MessageOpt) Direction() enums.SocketDataDirection
func (*MessageOpt) EndTime ¶
func (m *MessageOpt) EndTime() uint64
func (*MessageOpt) StartTime ¶
func (m *MessageOpt) StartTime() uint64
func (*MessageOpt) TransformReadableContent ¶
func (m *MessageOpt) TransformReadableContent(defaultEncoding string, maxSize int) (string, error)
nolint
type MessageType ¶
type MessageType int
const ( MessageTypeRequest MessageType = iota MessageTypeResponse MessageTypeUnknown )
func IdentityMessageType ¶
func IdentityMessageType(reader *buffer.Buffer) (MessageType, error)
type Request ¶
type Request struct { *MessageOpt // contains filtered or unexported fields }
func ReadRequest ¶
nolint
func (*Request) BodyBuffer ¶
func (*Request) HeaderBuffer ¶
type Response ¶
type Response struct { *MessageOpt // contains filtered or unexported fields }
func ReadResponse ¶
func (*Response) BodyBuffer ¶
func (*Response) HeaderBuffer ¶
Click to show internal directories.
Click to hide internal directories.