db

package
v0.0.0-...-7a600a4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials interface{}

type DB

type DB struct {
	// contains filtered or unexported fields
}

type Database

type Database interface {
	Connect() error
}

type MongoDB

type MongoDB struct {
	Username         string
	Password         string
	ConnectionString string
}

func NewMongoDB

func NewMongoDB(m MongoDB) *MongoDB

func (*MongoDB) Connect

func (m *MongoDB) Connect() error

type SupabaseCredentials

type SupabaseCredentials struct {
	Url string
	Key string
}

Jump to

Keyboard shortcuts

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