user

package
v0.0.0-...-99ae320 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2015 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	MongoId bson.ObjectId `json:"-" bson:"_id"`
	Email   string        `json:"email" bson:"email"`
	Id      int           `json:"id" bson:"id"`
	Name    string        `json:"login" bson:"name"`
	Type    string        `bson:"type"`
	Roles   []string      `bson:"roles,omitempty"`
}

move below to new package

func (*User) Get

func (u *User) Get(w *wrapper.Wrapper) error

func (*User) Set

func (u *User) Set(w *wrapper.Wrapper) error

Jump to

Keyboard shortcuts

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