user

package
v0.0.0-...-67d514a Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: LGPL-3.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 Repository

type Repository interface {
	CreateIfNotExist(user *model.User) error
	GetByUsername(username string) (*model.User, error)
}

Repository represent the user's repository contract

type Usecase

type Usecase interface {
	Login(username, password string) (string, error)
}

Usecase represent the user's usecases

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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