interfaces

package
v0.0.0-...-7f7c05f Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthService

type AuthService interface {
	// User
	// GetUserByUserName(userName string) (*models.User, error)
	// GetUserByEmail(email string) (*models.User, error)
	// GetUser(userId int64) (*models.User, error)
	CreateUser(user *models.User) (*models.User, error)

	// Token
	GetTokens(userId int64) (*models.AuthToken, error)
	PurgeRefreshToken(userId int64) (int64, error)
}

Jump to

Keyboard shortcuts

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