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, ...) page.Handler
- func Donor(tmpl template.Template, sessionStore *sesh.Store, donorStore DonorStore, ...) page.Handler
- func Supporter(sessionStore *sesh.Store, organisationStore OrganisationStore, ...) page.Handler
- type AttorneyStore
- type CertificateProviderStore
- type DocumentStore
- type DonorStore
- type DynamoClient
- type MemberStore
- type Name
- type OrganisationStore
- type ShareCodeSender
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, ) page.Handler
func CertificateProvider ¶
func CertificateProvider( tmpl template.Template, sessionStore *sesh.Store, shareCodeSender ShareCodeSender, donorStore page.DonorStore, certificateProviderStore CertificateProviderStore, eventClient *event.Client, ) page.Handler
func Dashboard ¶
func Dashboard( tmpl template.Template, sessionStore *sesh.Store, shareCodeSender *page.ShareCodeSender, donorStore page.DonorStore, certificateProviderStore CertificateProviderStore, attorneyStore AttorneyStore, ) page.Handler
func Donor ¶
func Donor( tmpl template.Template, sessionStore *sesh.Store, donorStore DonorStore, certificateProviderStore CertificateProviderStore, attorneyStore AttorneyStore, documentStore DocumentStore, eventClient *event.Client, ) page.Handler
func Supporter ¶ added in v0.946.0
func Supporter(sessionStore *sesh.Store, organisationStore OrganisationStore, donorStore DonorStore, memberStore MemberStore, dynamoClient DynamoClient, searchClient *search.Client) page.Handler
Types ¶
type AttorneyStore ¶
type DocumentStore ¶ added in v0.794.0
type DonorStore ¶
type DonorStore interface { Create(context.Context) (*actor.DonorProvidedDetails, error) Put(context.Context, *actor.DonorProvidedDetails) error }
type DynamoClient ¶ added in v0.899.0
type MemberStore ¶ added in v0.1032.0
type MemberStore interface { Create(ctx context.Context, firstNames, lastName string) (*actor.Member, error) CreateFromInvite(ctx context.Context, invite *actor.MemberInvite) error CreateMemberInvite(ctx context.Context, organisation *actor.Organisation, firstNames, lastname, email, code string, permission actor.Permission) error }
type OrganisationStore ¶ added in v0.982.0
type ShareCodeSender ¶
type ShareCodeSender interface {}
Click to show internal directories.
Click to hide internal directories.