Documentation
¶
Index ¶
- func ListMongo(ctx context.Context, db *mongo.Database, collection string, opts ListOptions) ([]string, error)
- func ListRedis(ctx context.Context, rdb *redis.Client, opts ListOptions) ([]string, error)
- func ListSQL(ctx context.Context, db *sql.DB, table string, opts ListOptions) ([]string, error)
- func Mongo(ctx context.Context, uri string) (*mongo.Client, error)
- func Redis(ctx context.Context, url string) (*redis.Client, error)
- func SQL(ctx context.Context, driver, connString string) (*sql.DB, error)
- type ListOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ListOptions ¶
Click to show internal directories.
Click to hide internal directories.