db

package
v0.0.0-...-3499e60 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBConn

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

func NewDBConn

func NewDBConn(ctx context.Context, name, url string) (*DBConn, error)

func (*DBConn) FindOrCreateUser

func (conn *DBConn) FindOrCreateUser(
	ctx context.Context,
	user *models.User,
) error

func (*DBConn) GetUser

func (conn *DBConn) GetUser(ctx context.Context, user *models.User) error

Jump to

Keyboard shortcuts

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