Documentation ¶
Index ¶
- type ApplicationEventService
- func (s *ApplicationEventService) Create(event *types.ApplicationEvent) (*types.ApplicationEvent, error)
- func (s *ApplicationEventService) FilterByType(events []*types.ApplicationEvent, ttype types.EventType) []*types.ApplicationEvent
- func (s *ApplicationEventService) GetByClientAndType(clientId string, ttype types.EventType) (events []*types.ApplicationEvent, err error)
- func (s *ApplicationEventService) GetByUserAndType(userId string, ttype types.EventType) (events []*types.ApplicationEvent, err error)
- type ClientService
- type MailService
- type SendService
- type SpfService
- type TemplateService
- func (s *TemplateService) Create(template *types.Template) (*types.Template, error)
- func (s *TemplateService) Delete(id string) error
- func (s *TemplateService) GetById(id string) (*types.Template, error)
- func (s *TemplateService) GetByUser(userId string) (templates []*types.Template, err error)
- func (s *TemplateService) Update(template *types.Template) (*types.Template, error)
- type UserService
- func (s *UserService) Create(signup *dto.Signup) (*types.User, error)
- func (s *UserService) Delete(id string) error
- func (s *UserService) GetAll() (users []*types.User, err error)
- func (s *UserService) GetById(id string) (*types.User, error)
- func (s *UserService) Update(user *types.User, update *types.User) (*types.User, error)
- type VerificationService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationEventService ¶
type ApplicationEventService struct {
// contains filtered or unexported fields
}
func NewApplicationEventService ¶
func NewApplicationEventService() *ApplicationEventService
func (*ApplicationEventService) Create ¶
func (s *ApplicationEventService) Create(event *types.ApplicationEvent) (*types.ApplicationEvent, error)
func (*ApplicationEventService) FilterByType ¶
func (s *ApplicationEventService) FilterByType(events []*types.ApplicationEvent, ttype types.EventType) []*types.ApplicationEvent
func (*ApplicationEventService) GetByClientAndType ¶
func (s *ApplicationEventService) GetByClientAndType(clientId string, ttype types.EventType) (events []*types.ApplicationEvent, err error)
func (*ApplicationEventService) GetByUserAndType ¶
func (s *ApplicationEventService) GetByUserAndType(userId string, ttype types.EventType) (events []*types.ApplicationEvent, err error)
type ClientService ¶
type ClientService struct {
// contains filtered or unexported fields
}
func NewClientService ¶
func NewClientService() *ClientService
func (*ClientService) Delete ¶
func (s *ClientService) Delete(id string) error
type MailService ¶
type MailService struct {
// contains filtered or unexported fields
}
func NewMailService ¶
func NewMailService() *MailService
func (*MailService) SendSenderVerification ¶
func (s *MailService) SendSenderVerification(user *types.User, sender types.SenderAddress, token string) error
func (*MailService) SendUserVerification ¶
func (s *MailService) SendUserVerification(user *types.User, token string) error
type SendService ¶
type SendService struct {
// contains filtered or unexported fields
}
func NewSendService ¶
func NewSendService() *SendService
type SpfService ¶
type SpfService struct {
// contains filtered or unexported fields
}
func NewSpfService ¶
func NewSpfService() *SpfService
func (*SpfService) Validate ¶
func (s *SpfService) Validate(domain string) error
type TemplateService ¶
type TemplateService struct {
// contains filtered or unexported fields
}
func NewTemplateService ¶
func NewTemplateService() *TemplateService
func (*TemplateService) Delete ¶
func (s *TemplateService) Delete(id string) error
func (*TemplateService) GetById ¶
func (s *TemplateService) GetById(id string) (*types.Template, error)
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService() *UserService
func (*UserService) Delete ¶
func (s *UserService) Delete(id string) error
type VerificationService ¶
type VerificationService struct {
// contains filtered or unexported fields
}
func NewVerificationService ¶
func NewVerificationService() *VerificationService
func (*VerificationService) Create ¶
func (s *VerificationService) Create(verification *types.Verification) (*types.Verification, error)
func (*VerificationService) Delete ¶
func (s *VerificationService) Delete(token string) error
func (*VerificationService) GetByToken ¶
func (s *VerificationService) GetByToken(token string) (*types.Verification, error)
Click to show internal directories.
Click to hide internal directories.