repo

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.New("Object Not Found")
)

Error collection

Functions

This section is empty.

Types

type CredentialRepo

type CredentialRepo interface {
	Count(ctx context.Context, email string) int
	Get(ctx context.Context, email string) (model.Credential, error)
	Create(ctx context.Context, cred model.Credential) error
	Update(ctx context.Context, email string, cred model.Credential) (model.Credential, error)
}

CredentialRepo interface to access credential resource

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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