Documentation ¶
Index ¶
- type NotificationService
- func (svc *NotificationService) CountMembers(ctx context.Context, orgID string, status membro.MemberStatus) (int, error)
- func (svc *NotificationService) DraftMembers(ctx context.Context, orgID string, draftMembers []*membro.Member) error
- func (svc *NotificationService) GetMemberByToken(ctx context.Context, orgID string, token string) (*membro.Member, error)
- func (svc *NotificationService) GetMembers(ctx context.Context, orgID string, memberIDs []string, ...) error
- func (svc *NotificationService) QueryMembers(ctx context.Context, orgID string, offset int, limit int, ...) error
- func (svc *NotificationService) UpdateMembers(ctx context.Context, orgID string, members []*membro.Member) error
- func (svc *NotificationService) UpdateMembersStatus(ctx context.Context, orgID string, members []*membro.Member, ...) error
- func (svc *NotificationService) ValidateToken(ctx context.Context, orgID string, token string) error
- type ResolvableOrganization
- type TemplateContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationService ¶
type NotificationService struct { Templates map[string]*handlebars.Template BaseUrl url.URL Logger log.Logger MembroService membro.MembroService NotificationService notification.NotificationService GetRealmsEndpoint endpoint.Endpoint }
func (*NotificationService) CountMembers ¶
func (svc *NotificationService) CountMembers(ctx context.Context, orgID string, status membro.MemberStatus) (int, error)
func (*NotificationService) DraftMembers ¶
func (*NotificationService) GetMemberByToken ¶
func (*NotificationService) GetMembers ¶
func (*NotificationService) QueryMembers ¶
func (*NotificationService) UpdateMembers ¶
func (*NotificationService) UpdateMembersStatus ¶
func (svc *NotificationService) UpdateMembersStatus(ctx context.Context, orgID string, members []*membro.Member, newStatus membro.MemberStatus) error
type ResolvableOrganization ¶
type ResolvableOrganization struct {
// contains filtered or unexported fields
}
func (*ResolvableOrganization) ResolveContact ¶
func (o *ResolvableOrganization) ResolveContact() interface{}
func (*ResolvableOrganization) ResolveEmail ¶
func (o *ResolvableOrganization) ResolveEmail() *mail.Address
Click to show internal directories.
Click to hide internal directories.