auth

package
v0.0.0-...-01da6d2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New return new interface implemented struct

Types

type Usecase

type Usecase struct {
}

Usecase authentication Usecase

func (Usecase) Authenticate

func (u Usecase) Authenticate(id, pass string) (map[string]interface{}, error)

Authenticate return error if id/pass is not valid

Jump to

Keyboard shortcuts

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