mysql

package
v0.0.0-...-87346ed Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserAuthRepositoryMysql

func NewUserAuthRepositoryMysql(db *sql.DB) repository.UserAuthRepository

func NewUserEventRepositoryMysql

func NewUserEventRepositoryMysql(db *sql.DB) repository.UserEventRepository

func NewUserReadRepositoryMysql

func NewUserReadRepositoryMysql(db *sql.DB) repository.UserReadRepository

Types

type UserAuthRepositoryMysql

type UserAuthRepositoryMysql struct {
	DB *sql.DB
}

func (*UserAuthRepositoryMysql) Save

func (s *UserAuthRepositoryMysql) Save(userAuth *storage.UserAuth) <-chan error

type UserEventRepositoryMysql

type UserEventRepositoryMysql struct {
	DB *sql.DB
}

func (*UserEventRepositoryMysql) Save

func (f *UserEventRepositoryMysql) Save(uid uuid.UUID, latestVersion int, events []interface{}) <-chan error

type UserReadRepositoryMysql

type UserReadRepositoryMysql struct {
	DB *sql.DB
}

func (*UserReadRepositoryMysql) Save

func (f *UserReadRepositoryMysql) Save(userRead *storage.UserRead) <-chan error

Jump to

Keyboard shortcuts

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