Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithCredentials ¶
func WithEnableStaging ¶
func WithHTTPClient ¶
func WithHTTPClient(doFn OptionHTTPRequestFn) Option
type ResponseEnvelope ¶
type ResponseEnvelope struct { HTTPStatusCode int `json:"httpStatusCode"` ReplyCode int `json:"replyCode"` // https://dev.emarsys.com/docs/emarsys-api/ZG9jOjI0ODk5NzY4-http-200-errors ReplyText string `json:"replyText"` Data json.RawMessage `json:"data"` UnmarshalErr error `json:"-"` }
func (*ResponseEnvelope) Error ¶
func (s *ResponseEnvelope) Error() string
Click to show internal directories.
Click to hide internal directories.