Documentation ¶
Index ¶
- type CertificateProviderInvite
- type DynamoClient
- type EventClient
- type Localizer
- type NotifyClient
- type Sender
- func (s *Sender) SendAttorneys(ctx context.Context, appData appcontext.Data, donor *lpadata.Lpa) error
- func (s *Sender) SendCertificateProviderInvite(ctx context.Context, appData appcontext.Data, invite CertificateProviderInvite) error
- func (s *Sender) SendCertificateProviderPrompt(ctx context.Context, appData appcontext.Data, donor *donordata.Provided) error
- func (s *Sender) SendVoucherAccessCode(ctx context.Context, donor *donordata.Provided, appData appcontext.Data) error
- func (s *Sender) UseTestCode(shareCode string)
- type ShareCodeStore
- type Store
- func (s *Store) Delete(ctx context.Context, shareCode sharecodedata.Link) error
- func (s *Store) Get(ctx context.Context, actorType actor.Type, shareCode string) (sharecodedata.Link, error)
- func (s *Store) GetDonor(ctx context.Context) (sharecodedata.Link, error)
- func (s *Store) Put(ctx context.Context, actorType actor.Type, shareCode string, ...) error
- func (s *Store) PutDonor(ctx context.Context, shareCode string, data sharecodedata.Link) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateProviderInvite ¶ added in v0.1360.0
type DynamoClient ¶ added in v0.1343.0
type DynamoClient interface { One(ctx context.Context, pk dynamo.PK, sk dynamo.SK, v interface{}) error OneByPK(ctx context.Context, pk dynamo.PK, v interface{}) error OneBySK(ctx context.Context, sk dynamo.SK, v interface{}) error Put(ctx context.Context, v interface{}) error DeleteOne(ctx context.Context, pk dynamo.PK, sk dynamo.SK) error }
type EventClient ¶ added in v0.1360.0
type EventClient interface { SendAttorneyStarted(ctx context.Context, event event.AttorneyStarted) error SendNotificationSent(ctx context.Context, notificationSentEvent event.NotificationSent) error SendPaperFormRequested(ctx context.Context, paperFormRequestedEvent event.PaperFormRequested) error }
type Localizer ¶ added in v0.1360.0
type Localizer interface { Concat(list []string, joiner string) string Count(messageID string, count int) string Format(messageID string, data map[string]interface{}) string FormatCount(messageID string, count int, data map[string]any) string FormatDate(t date.TimeOrDate) string FormatTime(t time.Time) string FormatDateTime(t time.Time) string Possessive(s string) string SetShowTranslationKeys(s bool) ShowTranslationKeys() bool T(messageID string) string }
type NotifyClient ¶ added in v0.1360.0
type Sender ¶ added in v0.1360.0
type Sender struct {
// contains filtered or unexported fields
}
func NewSender ¶ added in v0.1360.0
func NewSender(shareCodeStore ShareCodeStore, notifyClient NotifyClient, appPublicURL string, randomString func(int) string, eventClient EventClient) *Sender
func (*Sender) SendAttorneys ¶ added in v0.1360.0
func (*Sender) SendCertificateProviderInvite ¶ added in v0.1360.0
func (s *Sender) SendCertificateProviderInvite(ctx context.Context, appData appcontext.Data, invite CertificateProviderInvite) error
func (*Sender) SendCertificateProviderPrompt ¶ added in v0.1360.0
func (*Sender) SendVoucherAccessCode ¶ added in v0.1408.0
func (*Sender) UseTestCode ¶ added in v0.1360.0
type ShareCodeStore ¶ added in v0.1360.0
type ShareCodeStore interface {}
type Store ¶ added in v0.1343.0
type Store struct {
// contains filtered or unexported fields
}
func NewStore ¶ added in v0.1343.0
func NewStore(dynamoClient DynamoClient) *Store
Click to show internal directories.
Click to hide internal directories.