Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(kind, databaseLogin, databasePassword, databaseName, databaseIP, databasePort string, disableNewAccounts bool) (clientdata.Factory, error)
NewFactory returns a factory to make client data objects of the type kind and using the database. Currently supports "postgres" as a kind, using a Postgres database.
Types ¶
type DataFactory ¶
type DataFactory struct {
// contains filtered or unexported fields
}
func NewDataFactory ¶
func NewDataFactory(data clientdata.DataStore, disableNewAccounts bool) *DataFactory
func (*DataFactory) Create ¶
func (df *DataFactory) Create(name string) clientdata.ClientData
Click to show internal directories.
Click to hide internal directories.