Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { Status int `json:"status,omitempty"` Type string `json:"type,omitempty"` Message string `json:"message,omitempty"` MoreInfo string `json:"moreInfo,omitempty"` Details []ErrorDetail `json:"details,omitempty"` }
Error implements the service definition of APIError
type ErrorDetail ¶
type ErrorDetail struct { Field string `json:"field,omitempty"` Type string `json:"type,omitempty"` Message string `json:"message,omitempty"` MoreInfo string `json:"moreInfo,omitempty"` }
ErrorDetail implements the service definition of APIErrorDetail
type PublishEventResponses ¶
type PublishEventResponses struct { Ok *PublishResponse Error *Error }
PublishEventResponses holds responses of PublishEvent
type PublishResponse ¶
type PublishResponse struct { EventID string `json:"event-id,omitempty"` Status string `json:"status"` Reason string `json:"reason"` }
PublishResponse implements the service definition of PublishResponse
type SendEventResponse ¶
type SendEventResponse PublishEventResponses
SendEventResponse holds the response from outbound messaging API
Click to show internal directories.
Click to hide internal directories.