Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbLoader ¶
type DbLoader struct {
// contains filtered or unexported fields
}
DbLoader specifc state for database Loader provider.
func NewLoader ¶
func NewLoader(ctx context.Context, log *logrus.Entry, ds datasource.Datasourcer, table string, where string) (*DbLoader, error)
NewLoader open the database connection, make the data query and return a Loader compatible object.
type DbSaver ¶
type DbSaver struct {
// contains filtered or unexported fields
}
DbSaver specifc state for database Saver provider.
func NewSaver ¶
func NewSaver(ctx context.Context, log *logrus.Entry, ds datasource.Datasourcer, table string, key string, mode string) (*DbSaver, error)
NewSaver open the database connection, prepare the insert statement and return a Saver compatible object.
Click to show internal directories.
Click to hide internal directories.