Documentation
¶
Index ¶
- func InitEmailMessage(m *EmailMessage, st string, template string) error
- func InitQueueMessage(m *QueueMessage, t string, st string) error
- type EmailMessage
- func (m *EmailMessage) BCC() string
- func (m *EmailMessage) CC() string
- func (m *EmailMessage) From(d string) string
- func (m *EmailMessage) GetHeaders() *map[string]string
- func (m *EmailMessage) HasHeader(n string) bool
- func (m *EmailMessage) Header(n string) string
- func (m *EmailMessage) IsValid() bool
- func (m *EmailMessage) Locale() string
- func (m EmailMessage) MarshalJSON() ([]byte, error)
- func (m *EmailMessage) SetBCC(bcc string) (string, error)
- func (m *EmailMessage) SetCC(cc string) (string, error)
- func (m *EmailMessage) SetFrom(from string) (string, error)
- func (m *EmailMessage) SetHeader(n string, v string) error
- func (m *EmailMessage) SetLocale(l string) (string, error)
- func (m *EmailMessage) SetTemplate(t string) (string, error)
- func (m *EmailMessage) SetTo(to string) (string, error)
- func (m *EmailMessage) Template() string
- func (m *EmailMessage) To() string
- func (m *EmailMessage) UnmarshalJSON(b []byte) error
- func (m *EmailMessage) UnsetHeader(n string) (string, error)
- type InviteMessage
- func (m *InviteMessage) AtUser() string
- func (m *InviteMessage) ByUser() string
- func (m *InviteMessage) Code() string
- func (m *InviteMessage) Expiration() *time.Time
- func (m *InviteMessage) ExpirationUTC() string
- func (m *InviteMessage) IsValid() bool
- func (m InviteMessage) MarshalJSON() ([]byte, error)
- func (m *InviteMessage) Message() string
- func (m *InviteMessage) ObjectName() string
- func (m *InviteMessage) SetAtUser(user string) (string, error)
- func (m *InviteMessage) SetByUser(user string) (string, error)
- func (m *InviteMessage) SetCode(code string) (string, error)
- func (m *InviteMessage) SetExpiration(t time.Time) (*time.Time, error)
- func (m *InviteMessage) SetMessage(msg string) (string, error)
- func (m *InviteMessage) SetObjectName(name string) (string, error)
- func (m *InviteMessage) UnmarshalJSON(b []byte) error
- type QueueAction
- func (m *QueueAction) Created() *time.Time
- func (m *QueueAction) ErrorCode() int
- func (m *QueueAction) ErrorMessage() string
- func (m *QueueAction) ErrorTime() *time.Time
- func (m *QueueAction) GetParameters() *map[string]interface{}
- func (m *QueueAction) GetProperties() *map[string]interface{}
- func (m *QueueAction) ID() string
- func (m *QueueAction) IsError() bool
- func (m *QueueAction) IsValid() bool
- func (m QueueAction) MarshalJSON() ([]byte, error)
- func (m *QueueAction) Requeue() int
- func (m *QueueAction) RequeueCount() int
- func (m *QueueAction) ResetCount() int
- func (m *QueueAction) SetError(c int, msg string) error
- func (m *QueueAction) SetParameters(p *map[string]interface{}) (*map[string]interface{}, error)
- func (m *QueueAction) SetProperties(p *map[string]interface{}) (*map[string]interface{}, error)
- func (m *QueueAction) SetType(t string) (string, error)
- func (m *QueueAction) Type() string
- func (m *QueueAction) UnmarshalJSON(b []byte) error
- func (m *QueueAction) Version() int
- type QueueMessage
- func (m *QueueMessage) Created() *time.Time
- func (m *QueueMessage) ErrorCode() int
- func (m *QueueMessage) ErrorMessage() string
- func (m *QueueMessage) ErrorTime() *time.Time
- func (m *QueueMessage) GetParameters() *map[string]interface{}
- func (m *QueueMessage) HasParameter(n string) bool
- func (m *QueueMessage) ID() string
- func (m *QueueMessage) IsError() bool
- func (m *QueueMessage) IsValid() bool
- func (m QueueMessage) MarshalJSON() ([]byte, error)
- func (m *QueueMessage) Parameter(n string) interface{}
- func (m *QueueMessage) Requeue() int
- func (m *QueueMessage) RequeueCount() int
- func (m *QueueMessage) ResetCount() int
- func (m *QueueMessage) SetError(c int, msg string) error
- func (m *QueueMessage) SetID(id string) (string, error)
- func (m *QueueMessage) SetIntParameter(n string, v int) error
- func (m *QueueMessage) SetParameter(n string, v interface{}) error
- func (m *QueueMessage) SetSubType(s string) (string, error)
- func (m *QueueMessage) SetType(t string) (string, error)
- func (m *QueueMessage) SetVersion(v int) (int, error)
- func (m *QueueMessage) SubType() string
- func (m *QueueMessage) Type() string
- func (m *QueueMessage) UnmarshalJSON(b []byte) error
- func (m *QueueMessage) UnsetParameter(n string) (interface{}, error)
- func (m *QueueMessage) Version() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitEmailMessage ¶ added in v0.0.3
func InitEmailMessage(m *EmailMessage, st string, template string) error
func InitQueueMessage ¶ added in v0.0.3
func InitQueueMessage(m *QueueMessage, t string, st string) error
Types ¶
type EmailMessage ¶
type EmailMessage struct { QueueMessage // DERIVED FROM // contains filtered or unexported fields }
func NewEmailMessage ¶ added in v0.0.3
func NewEmailMessage(st string, template string) (*EmailMessage, error)
func (*EmailMessage) BCC ¶
func (m *EmailMessage) BCC() string
func (*EmailMessage) CC ¶
func (m *EmailMessage) CC() string
func (*EmailMessage) From ¶
func (m *EmailMessage) From(d string) string
func (*EmailMessage) GetHeaders ¶
func (m *EmailMessage) GetHeaders() *map[string]string
func (*EmailMessage) HasHeader ¶
func (m *EmailMessage) HasHeader(n string) bool
func (*EmailMessage) Header ¶
func (m *EmailMessage) Header(n string) string
func (*EmailMessage) IsValid ¶
func (m *EmailMessage) IsValid() bool
func (*EmailMessage) Locale ¶ added in v0.0.2
func (m *EmailMessage) Locale() string
func (EmailMessage) MarshalJSON ¶
func (m EmailMessage) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshal
func (*EmailMessage) SetLocale ¶ added in v0.0.2
func (m *EmailMessage) SetLocale(l string) (string, error)
func (*EmailMessage) SetTemplate ¶
func (m *EmailMessage) SetTemplate(t string) (string, error)
func (*EmailMessage) Template ¶
func (m *EmailMessage) Template() string
func (*EmailMessage) To ¶
func (m *EmailMessage) To() string
func (*EmailMessage) UnmarshalJSON ¶
func (m *EmailMessage) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshal
func (*EmailMessage) UnsetHeader ¶
func (m *EmailMessage) UnsetHeader(n string) (string, error)
type InviteMessage ¶ added in v0.0.3
type InviteMessage struct { EmailMessage // DERIVED FROM // contains filtered or unexported fields }
func NewInviteMessage ¶ added in v0.0.3
func NewInviteMessage(template string, code string) (*InviteMessage, error)
func (*InviteMessage) AtUser ¶ added in v0.0.3
func (m *InviteMessage) AtUser() string
func (*InviteMessage) ByUser ¶ added in v0.0.3
func (m *InviteMessage) ByUser() string
func (*InviteMessage) Code ¶ added in v0.0.3
func (m *InviteMessage) Code() string
func (*InviteMessage) Expiration ¶ added in v0.0.3
func (m *InviteMessage) Expiration() *time.Time
func (*InviteMessage) ExpirationUTC ¶ added in v0.0.3
func (m *InviteMessage) ExpirationUTC() string
func (*InviteMessage) IsValid ¶ added in v0.0.3
func (m *InviteMessage) IsValid() bool
func (InviteMessage) MarshalJSON ¶ added in v0.0.3
func (m InviteMessage) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshal
func (*InviteMessage) Message ¶ added in v0.0.3
func (m *InviteMessage) Message() string
func (*InviteMessage) ObjectName ¶ added in v0.0.3
func (m *InviteMessage) ObjectName() string
func (*InviteMessage) SetAtUser ¶ added in v0.0.3
func (m *InviteMessage) SetAtUser(user string) (string, error)
func (*InviteMessage) SetByUser ¶ added in v0.0.3
func (m *InviteMessage) SetByUser(user string) (string, error)
func (*InviteMessage) SetCode ¶ added in v0.0.3
func (m *InviteMessage) SetCode(code string) (string, error)
func (*InviteMessage) SetExpiration ¶ added in v0.0.3
func (*InviteMessage) SetMessage ¶ added in v0.0.3
func (m *InviteMessage) SetMessage(msg string) (string, error)
func (*InviteMessage) SetObjectName ¶ added in v0.0.3
func (m *InviteMessage) SetObjectName(name string) (string, error)
func (*InviteMessage) UnmarshalJSON ¶ added in v0.0.3
func (m *InviteMessage) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshal
type QueueAction ¶ added in v0.0.4
type QueueAction struct {
// contains filtered or unexported fields
}
func NewQueueAction ¶ added in v0.0.4
func NewQueueAction(t string) (*QueueAction, error)
func NewQueueActionWithGUID ¶ added in v0.0.4
func NewQueueActionWithGUID(guid string, t string) (*QueueAction, error)
func (*QueueAction) Created ¶ added in v0.0.4
func (m *QueueAction) Created() *time.Time
func (*QueueAction) ErrorCode ¶ added in v0.0.4
func (m *QueueAction) ErrorCode() int
func (*QueueAction) ErrorMessage ¶ added in v0.0.4
func (m *QueueAction) ErrorMessage() string
func (*QueueAction) ErrorTime ¶ added in v0.0.4
func (m *QueueAction) ErrorTime() *time.Time
func (*QueueAction) GetParameters ¶ added in v0.0.4
func (m *QueueAction) GetParameters() *map[string]interface{}
func (*QueueAction) GetProperties ¶ added in v0.0.4
func (m *QueueAction) GetProperties() *map[string]interface{}
func (*QueueAction) ID ¶ added in v0.0.4
func (m *QueueAction) ID() string
func (*QueueAction) IsError ¶ added in v0.0.4
func (m *QueueAction) IsError() bool
func (*QueueAction) IsValid ¶ added in v0.0.4
func (m *QueueAction) IsValid() bool
func (QueueAction) MarshalJSON ¶ added in v0.0.4
func (m QueueAction) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshal
func (*QueueAction) Requeue ¶ added in v0.0.4
func (m *QueueAction) Requeue() int
func (*QueueAction) RequeueCount ¶ added in v0.0.4
func (m *QueueAction) RequeueCount() int
func (*QueueAction) ResetCount ¶ added in v0.0.4
func (m *QueueAction) ResetCount() int
func (*QueueAction) SetError ¶ added in v0.0.4
func (m *QueueAction) SetError(c int, msg string) error
func (*QueueAction) SetParameters ¶ added in v0.0.4
func (m *QueueAction) SetParameters(p *map[string]interface{}) (*map[string]interface{}, error)
func (*QueueAction) SetProperties ¶ added in v0.0.4
func (m *QueueAction) SetProperties(p *map[string]interface{}) (*map[string]interface{}, error)
func (*QueueAction) SetType ¶ added in v0.0.4
func (m *QueueAction) SetType(t string) (string, error)
func (*QueueAction) Type ¶ added in v0.0.4
func (m *QueueAction) Type() string
func (*QueueAction) UnmarshalJSON ¶ added in v0.0.4
func (m *QueueAction) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshal
func (*QueueAction) Version ¶ added in v0.0.4
func (m *QueueAction) Version() int
type QueueMessage ¶
type QueueMessage struct {
// contains filtered or unexported fields
}
func NewQueueMessage ¶ added in v0.0.3
func NewQueueMessage(t string, st string) (*QueueMessage, error)
func (*QueueMessage) Created ¶
func (m *QueueMessage) Created() *time.Time
func (*QueueMessage) ErrorCode ¶
func (m *QueueMessage) ErrorCode() int
func (*QueueMessage) ErrorMessage ¶
func (m *QueueMessage) ErrorMessage() string
func (*QueueMessage) ErrorTime ¶
func (m *QueueMessage) ErrorTime() *time.Time
func (*QueueMessage) GetParameters ¶ added in v0.0.2
func (m *QueueMessage) GetParameters() *map[string]interface{}
func (*QueueMessage) HasParameter ¶ added in v0.0.2
func (m *QueueMessage) HasParameter(n string) bool
func (*QueueMessage) ID ¶
func (m *QueueMessage) ID() string
func (*QueueMessage) IsError ¶
func (m *QueueMessage) IsError() bool
func (*QueueMessage) IsValid ¶
func (m *QueueMessage) IsValid() bool
func (QueueMessage) MarshalJSON ¶
func (m QueueMessage) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshal
func (*QueueMessage) Parameter ¶ added in v0.0.2
func (m *QueueMessage) Parameter(n string) interface{}
func (*QueueMessage) Requeue ¶
func (m *QueueMessage) Requeue() int
func (*QueueMessage) RequeueCount ¶
func (m *QueueMessage) RequeueCount() int
func (*QueueMessage) ResetCount ¶
func (m *QueueMessage) ResetCount() int
func (*QueueMessage) SetIntParameter ¶ added in v0.0.2
func (m *QueueMessage) SetIntParameter(n string, v int) error
func (*QueueMessage) SetParameter ¶ added in v0.0.2
func (m *QueueMessage) SetParameter(n string, v interface{}) error
func (*QueueMessage) SetSubType ¶ added in v0.0.2
func (m *QueueMessage) SetSubType(s string) (string, error)
func (*QueueMessage) SetType ¶ added in v0.0.2
func (m *QueueMessage) SetType(t string) (string, error)
func (*QueueMessage) SetVersion ¶
func (m *QueueMessage) SetVersion(v int) (int, error)
func (*QueueMessage) SubType ¶ added in v0.0.2
func (m *QueueMessage) SubType() string
func (*QueueMessage) Type ¶ added in v0.0.2
func (m *QueueMessage) Type() string
func (*QueueMessage) UnmarshalJSON ¶
func (m *QueueMessage) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshal
func (*QueueMessage) UnsetParameter ¶ added in v0.0.2
func (m *QueueMessage) UnsetParameter(n string) (interface{}, error)
func (*QueueMessage) Version ¶
func (m *QueueMessage) Version() int
Click to show internal directories.
Click to hide internal directories.