Skip to content

vkroll/golang-userdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

userdb

Purpose

userdb is a user administration for web projects. It got on my nerves to build such small parts again and again, so I outsourced it now at the beginning of my "golang career" to use it in the future.

API

package userdb // import "github.com/vkroll/golang/userdb"

func CreateUser(u string, p []byte) (bool, error)

func LoadUsers()

func SaveUsers()

func UserExists(u string) bool

func ValidateUser(u string, p []byte) bool

Credits

Parts of the implementation are inspired by code from https://github.com/mrichman/go-web-userdb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages