Documentation
¶
Index ¶
- type Auth
- type Bridge
- type Endpoint
- type Message
- func (m *Message) Create(subject, from string, to map[string]struct{}, text string) (*core.Message, error)
- func (m *Message) CreateAttachment(msg *core.Message, name string, data []byte) (*core.Attachment, error)
- func (m *Message) Get(uuid string) (*core.Message, error)
- func (m *Message) List(limit, offset int) ([]core.Message, error)
- func (m *Message) Process(msg *core.Message, bridges []*core.Bridge) error
- func (m *Message) UpdateStatus(msg *core.Message, status core.Status) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶ added in v0.4.0
type Auth struct {
// contains filtered or unexported fields
}
func (*Auth) AnonymousLogin ¶ added in v0.4.0
type Bridge ¶
type Bridge struct {
// contains filtered or unexported fields
}
type Endpoint ¶ added in v0.4.0
type Endpoint struct {
// contains filtered or unexported fields
}
func NewEndpoint ¶ added in v0.4.0
func NewEndpoint(endpointREPO core.EndpointRepositoryPort) *Endpoint
func (*Endpoint) SendByEndpointNames ¶ added in v0.6.0
func (e *Endpoint) SendByEndpointNames(emsg *core.EndpointMessage, endpointNames []string) error
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
func NewMessage ¶
func NewMessage( endpointSVC core.EndpointServicePort, attachmentREPO core.AttachmentRepositoryPort, messageREPO core.MessageRepositoryPort, ) *Message
func (*Message) CreateAttachment ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.