Documentation
¶
Index ¶
- type Auth
- type Bridge
- type Endpoint
- type Message
- func (m *Message) Create(subject, from string, to map[string]struct{}, text string) (*domain.Message, error)
- func (m *Message) CreateAttachment(msg *domain.Message, name string, data []byte) (*domain.Attachment, error)
- func (m *Message) Get(uuid string) (*domain.Message, error)
- func (m *Message) List(limit, offset int) ([]domain.Message, error)
- func (m *Message) UpdateStatus(msg *domain.Message, status domain.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 domain.EndpointRepositoryPort) *Endpoint
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
func NewMessage ¶
func NewMessage( attachmentREPO domain.AttachmentRepositoryPort, messageREPO domain.MessageRepositoryPort, ) *Message
func (*Message) CreateAttachment ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.