Documentation ¶
Index ¶
- Variables
- func Claims(email string) ([]byte, error)
- func NewGlobalDatabaseCredentials(dbCredentials *config.DatabaseCredentials) *config.GlobalDatabaseCredentialsEnvironmentConfig
- func NewLoggerFactory() *log.Factory
- func StandardAttributes(name string, email string) ([]byte, error)
- type ImportOptions
- type Importer
Constants ¶
This section is empty.
Variables ¶
View Source
var DependencySet = wire.NewSet( NewLoggerFactory, config.NewDefaultDatabaseEnvironmentConfig, NewGlobalDatabaseCredentials, globaldb.DependencySet, appdb.NewHandle, appdb.DependencySet, clock.DependencySet, wire.Struct(new(Importer), "*"), )
Functions ¶
func NewGlobalDatabaseCredentials ¶
func NewGlobalDatabaseCredentials(dbCredentials *config.DatabaseCredentials) *config.GlobalDatabaseCredentialsEnvironmentConfig
func NewLoggerFactory ¶
Types ¶
type ImportOptions ¶
type ImportOptions struct {
EmailMarkAsVerified bool
}
type Importer ¶
type Importer struct { AppID config.AppID Handle *appdb.Handle SQLBuilderApp *appdb.SQLBuilderApp SQLExecutor *appdb.SQLExecutor EmailConfig *config.LoginIDEmailConfig }
func NewImporter ¶
func (*Importer) ImportFromCSV ¶
func (i *Importer) ImportFromCSV(csvPath string, opts ImportOptions) error
func (*Importer) ImportRecord ¶
Click to show internal directories.
Click to hide internal directories.