Documentation
¶
Index ¶
- type Auth
- type Bridge
- type Endpoint
- type Message
- func (m *Message) CleanUp() error
- 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) LoadData(msg *core.Message) error
- func (m *Message) Run(ctx context.Context, done chan struct{})
- 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, messageSVC core.MessageServicePort) *Endpoint
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
func NewMessage ¶
func NewMessage( cfg *config.Config, 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.