Documentation
¶
Index ¶
- func AuthWithToken(token string, isSession bool) error
- func CheckTokenSession(token string) (*model.User, error)
- func Create(user *model.User, createdBy, friendlyName, description string, ttl int64) (*model.UserToken, error)
- func Delete(uid uint64, creator string) error
- func DeleteByUIDAndName(uid uint64, name string) error
- func List(user *model.User) ([]*model.UserToken, error)
- func Update(uid uint64, fromName, toName string, ttl int64) (*model.UserToken, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthWithToken ¶
func DeleteByUIDAndName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.