repository

package
v0.0.0-...-3ec3138 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AthenaQueryRepository

type AthenaQueryRepository interface {
	Fetch(ctx context.Context, rawQuery string, args []interface{}) ([][]string, error)
}

type PhotoImageRepository

type PhotoImageRepository interface {
	Store(io.Reader, string) error
	Get(key string) (io.ReadCloser, error)
}

type PhotoMetadataRepository

type PhotoMetadataRepository interface {
	Create(*model.Photo) error
}

type QueryRepository

type QueryRepository interface {
	Fetch(rawQuery string, args []interface{}, scanType interface{}) (interface{}, error)
}

type TripMetadataStoreRepository

type TripMetadataStoreRepository interface {
	Create(*model.Trip) error
	FindByDateAndUnit(year, month, day int, unit string) (*model.Trip, error)
}

type UserRepository

type UserRepository interface {
	Create(*model.User) error
	FindByEmail(model.Email) (*model.User, error)
}

Jump to

Keyboard shortcuts

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