user

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Users

type Users map[string]user

func NewUsers

func NewUsers() Users

func (Users) AddBase64

func (users Users) AddBase64(username, password string) (err error)

func (Users) AddMd5

func (users Users) AddMd5(username, password string) (err error)

func (Users) AddPlain

func (users Users) AddPlain(username, password string) (err error)

func (Users) AddSha1

func (users Users) AddSha1(username, password string) (err error)

func (Users) AddSha256

func (users Users) AddSha256(username, password string) (err error)

func (Users) AddSha512

func (users Users) AddSha512(username, password string) (err error)

func (Users) Auth

func (users Users) Auth(username, password string) bool

Jump to

Keyboard shortcuts

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