bootstrap

package
v0.0.0-...-5311485 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mongo

func Mongo(ctx context.Context, opts MongoOptions) (*mongo.Client, error)

func Postgres

func Postgres(ctx context.Context, opts PostgresOptions) (*pgxpool.Pool, error)

Types

type MongoOptions

type MongoOptions struct {
	URI string
}

type PostgresOptions

type PostgresOptions struct {
	ConnStr string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL