Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RabbitEventServer ¶
type RabbitEventServer struct { WhereExchange string WhereRoutingKey string Function func(ctx context.Context) (msg proto.Message, err error) }
func (RabbitEventServer) GetExchange ¶
func (this RabbitEventServer) GetExchange() string
func (RabbitEventServer) GetRoutingKey ¶
func (this RabbitEventServer) GetRoutingKey() string
func (RabbitEventServer) GetRpcServer ¶
type RabbitMsg ¶
type RabbitMsg struct { WhereExchange string WhereRoutingKey string Msg proto.Message ReplyMsg proto.Message // Pointer Reply bool Timeout time.Duration }
func (RabbitMsg) GetExchange ¶
func (RabbitMsg) GetReplyMsg ¶
func (RabbitMsg) GetRoutingKey ¶
func (RabbitMsg) GetTimeout ¶
Click to show internal directories.
Click to hide internal directories.