mysql

package
v0.0.0-...-ae75a06 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserAuthQueryMysql

func NewUserAuthQueryMysql(db *sql.DB) query.UserAuth

func NewUserEventQueryMysql

func NewUserEventQueryMysql(db *sql.DB) query.UserEvent

func NewUserReadQueryMysql

func NewUserReadQueryMysql(db *sql.DB) query.UserRead

Types

type UserAuthQueryMysql

type UserAuthQueryMysql struct {
	DB *sql.DB
}

func (UserAuthQueryMysql) FindByUserID

func (s UserAuthQueryMysql) FindByUserID(uid uuid.UUID) <-chan query.Result

type UserEventQueryMysql

type UserEventQueryMysql struct {
	DB *sql.DB
}

func (*UserEventQueryMysql) FindAllByID

func (f *UserEventQueryMysql) FindAllByID(uid uuid.UUID) <-chan query.Result

type UserReadQueryMysql

type UserReadQueryMysql struct {
	DB *sql.DB
}

func (UserReadQueryMysql) FindByID

func (s UserReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.Result

func (UserReadQueryMysql) FindByUsername

func (s UserReadQueryMysql) FindByUsername(username string) <-chan query.Result

func (UserReadQueryMysql) FindByUsernameAndPassword

func (s UserReadQueryMysql) FindByUsernameAndPassword(username, password string) <-chan query.Result

Jump to

Keyboard shortcuts

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