Documentation
¶
Index ¶
Constants ¶
View Source
const ( GRPCTransport = "grpc" KafkaTransport = "kafka" )
Variables ¶
View Source
var ( ErrEmptyHandlers = errors.New("empty handlers") ErrInvalidMessageType = errors.New("invalid message type") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type HandlerFunc ¶
type HandlerFunc func(messageCode string, h json.RawMessage) error
type HandlerTransport ¶
type HandlerTransport func(messageType, messageCode string, payload json.RawMessage) error
Click to show internal directories.
Click to hide internal directories.