user

package
v0.0.0-...-e5a9a76 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encryptor

type Encryptor struct{}

func (Encryptor) Encrypt

func (Encryptor) Encrypt(i string) string

type Source

type Source struct {
	Collection map[string]*user.User
}

func NewSource

func NewSource() Source

func (*Source) Add

func (s *Source) Add(u *user.User) error

func (Source) Get

func (us Source) Get(i user.Id) (u *user.User, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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