wcspromoteam/user
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
PACKAGE package user import "github.com/wcspromoteam/user" A simple package that allows persistent server-side storage of user settings and data. TYPES type User struct { ID string // The user's ID, represented as an email in the current system. // contains unexported fields } func Get(c http.ResponseWriter, r *http.Request) (u *User, err os.Error) func GetExisting(r *http.Request) (u *User, err os.Error) func (u *User) Get(key string) string func (u *User) Load() (err os.Error) func (u *User) Save() os.Error func (u *User) Set(key string, val string)
About
Functions and utilities for storing user/user account associated metadata.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published