Documentation ¶
Index ¶
- func AddToSearchIndex(c appengine.Context, nut *Nut) (err error)
- func LogError(c appengine.Context, err error)
- func NutKey(c appengine.Context, vendor, nut string) *datastore.Key
- func PanicIfErr(err error)
- func RemoveFromSearchIndex(c appengine.Context, nut *Nut) (err error)
- func SearchIndex(c appengine.Context, q string) (pairs [][]string, err error)
- func UserKey(c appengine.Context, u *user.User) *datastore.Key
- func VendorKey(c appengine.Context, vendor string) *datastore.Key
- func VersionKey(c appengine.Context, vendor, nut, version string) *datastore.Key
- type Nut
- type User
- type Vendor
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PanicIfErr ¶
func PanicIfErr(err error)
Types ¶
type User ¶
type User struct { // StringID (entity name, key name) is appengine/user.User.ID Id string // same as StringID Email string FederatedIdentity string Token string Debug bool Vendors []string }
func (*User) GenerateToken ¶
func (*User) Identifier ¶
Click to show internal directories.
Click to hide internal directories.