Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonToStruct ¶
func JsonToStruct(rawResponse []byte, jsonResponse interface{})
Types ¶
type ErrorForm ¶
type ErrorForm struct {
ErrorMessage string `json:"error"`
}
func MakeErrorResponse ¶
type Event ¶
func (*Event) GetResponse ¶
func (*Event) MakeResponse ¶
func (eve *Event) MakeResponse(response interface{})
type Rabbit ¶
type Rabbit struct {
// contains filtered or unexported fields
}
func (*Rabbit) Request ¶
func (r *Rabbit) Request(requests []*RequestForm)
type RequestForm ¶
type RequestForm struct { RoutingKey string MessageBody []byte CorrelationId string Response []byte IsResponseError bool }
func NewRequest ¶
func NewRequest(routingKey string, messageBody []byte) *RequestForm
Click to show internal directories.
Click to hide internal directories.