Documentation ¶
Index ¶
Constants ¶
View Source
const ( MessageArray = "MessageArray" StringArray = "StringArray" String = "String" Message = "Message" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GRPCPayloadCompressionFormat ¶
type GRPCPayloadCompressionFormat uint8
GRPCPayloadCompressionFormat tells by reading the first byte compressed or not
type GRPCPayloadHandler ¶
type GRPCPayloadHandler struct {
// contains filtered or unexported fields
}
func (GRPCPayloadHandler) Extract ¶
func (b GRPCPayloadHandler) Extract(body *io.ReadCloser, protoIndex string) (interface{}, error)
type JSONPayloadHandler ¶
type JSONPayloadHandler struct{}
func (JSONPayloadHandler) Extract ¶
func (h JSONPayloadHandler) Extract(body *io.ReadCloser, key string) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.