Documentation ¶
Index ¶
- func Attorney(tmpl template.Template, sessionStore *sesh.Store, ...) page.Handler
- func CertificateProvider(tmpl template.Template, sessionStore *sesh.Store, ...) page.Handler
- func Dashboard(tmpl template.Template, sessionStore *sesh.Store, donorStore page.DonorStore, ...) page.Handler
- func Donor(tmpl template.Template, sessionStore *sesh.Store, donorStore DonorStore, ...) page.Handler
- func Supporter(tmpl template.Template, sessionStore *sesh.Store, ...) page.Handler
- type AttorneyStore
- type CertificateProviderStore
- type DocumentStore
- type DonorStore
- type DynamoClient
- type FixtureData
- type MemberStore
- type Name
- type OrganisationStore
- type ShareCodeSender
- type ShareCodeStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Attorney ¶
func Attorney( tmpl template.Template, sessionStore *sesh.Store, shareCodeSender ShareCodeSender, donorStore DonorStore, certificateProviderStore CertificateProviderStore, attorneyStore AttorneyStore, eventClient *event.Client, lpaStoreClient *lpastore.Client, organisationStore OrganisationStore, memberStore MemberStore, shareCodeStore ShareCodeStore, ) page.Handler
func CertificateProvider ¶
func CertificateProvider( tmpl template.Template, sessionStore *sesh.Store, shareCodeSender ShareCodeSender, donorStore DonorStore, certificateProviderStore CertificateProviderStore, eventClient *event.Client, lpaStoreClient *lpastore.Client, dynamoClient DynamoClient, organisationStore OrganisationStore, memberStore MemberStore, shareCodeStore ShareCodeStore, ) page.Handler
func Dashboard ¶
func Dashboard( tmpl template.Template, sessionStore *sesh.Store, donorStore page.DonorStore, certificateProviderStore CertificateProviderStore, attorneyStore AttorneyStore, shareCodeStore ShareCodeStore, ) page.Handler
func Donor ¶
func Donor( tmpl template.Template, sessionStore *sesh.Store, donorStore DonorStore, certificateProviderStore CertificateProviderStore, attorneyStore AttorneyStore, documentStore DocumentStore, eventClient *event.Client, lpaStoreClient *lpastore.Client, shareCodeStore ShareCodeStore, ) page.Handler
func Supporter ¶ added in v0.946.0
func Supporter( tmpl template.Template, sessionStore *sesh.Store, organisationStore OrganisationStore, donorStore DonorStore, memberStore MemberStore, dynamoClient DynamoClient, searchClient *search.Client, shareCodeStore ShareCodeStore, certificateProviderStore CertificateProviderStore, attorneyStore AttorneyStore, documentStore DocumentStore, eventClient *event.Client, lpaStoreClient *lpastore.Client, ) page.Handler
Types ¶
type AttorneyStore ¶
type AttorneyStore interface { Create(ctx context.Context, shareCode sharecodedata.Link, email string) (*attorneydata.Provided, error) Put(ctx context.Context, attorney *attorneydata.Provided) error }
type CertificateProviderStore ¶
type CertificateProviderStore interface { Create(ctx context.Context, shareCode sharecodedata.Link, email string) (*certificateproviderdata.Provided, error) Put(ctx context.Context, certificateProvider *certificateproviderdata.Provided) error }
type DocumentStore ¶ added in v0.794.0
type DonorStore ¶
type DynamoClient ¶ added in v0.899.0
type FixtureData ¶ added in v0.1090.0
type FixtureData struct { LpaType string Progress int Redirect string Donor string CertificateProvider string Attorneys string PeopleToNotify string ReplacementAttorneys string FeeType string PaymentTaskProgress string WithVirus bool UseRealID bool CertificateProviderEmail string CertificateProviderMobile string DonorSub string DonorEmail string IdStatus string Voucher string }
type MemberStore ¶ added in v0.1032.0
type MemberStore interface { Create(ctx context.Context, firstNames, lastName string) (*supporterdata.Member, error) CreateFromInvite(ctx context.Context, invite *supporterdata.MemberInvite) error CreateMemberInvite(ctx context.Context, organisation *supporterdata.Organisation, firstNames, lastname, email, code string, permission supporterdata.Permission) error Put(ctx context.Context, member *supporterdata.Member) error }
type OrganisationStore ¶ added in v0.982.0
type OrganisationStore interface { Create(context.Context, *supporterdata.Member, string) (*supporterdata.Organisation, error) CreateLPA(context.Context) (*donordata.Provided, error) }
type ShareCodeSender ¶
type ShareCodeSender interface {}
type ShareCodeStore ¶ added in v0.1089.0
type ShareCodeStore interface {}
Click to show internal directories.
Click to hide internal directories.