query

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryResult

type QueryResult struct {
	Result interface{}
	Error  error
}

type UserAuthQuery

type UserAuthQuery interface {
	FindByUserID(userUID uuid.UUID) <-chan QueryResult
}

type UserEventQuery

type UserEventQuery interface {
	FindAllByID(userUID uuid.UUID) <-chan QueryResult
}

type UserReadQuery

type UserReadQuery interface {
	FindByID(userUID uuid.UUID) <-chan QueryResult
	FindByUsername(username string) <-chan QueryResult
	FindByUsernameAndPassword(username, password string) <-chan QueryResult
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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