auth

package
v0.0.0-...-cd5feb8 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2019 License: Unlicense Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(uname, password string) bool

Validate user credentials

Types

type Role

type Role struct {
	CREATE []user.User
	READ   []user.User
	UPDATE []user.User
	DELETE []user.User
}

Role of different user

type THIS

type THIS user.User

THIS is the user which requested the operations

Jump to

Keyboard shortcuts

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