auth

package
v0.0.0-...-6ba995b Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Auth

type Auth struct {
	User string
	Pass string
}

func (*Auth) Check

func (a *Auth) Check(user, pass string) error

type IAuth

type IAuth interface {
	Check(user, pass string) error
}

Jump to

Keyboard shortcuts

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