Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKey ¶
type APIKey struct {
*Item
}
func ToAPIKey ¶
func ToAPIKey(e *system_apikey.APIKey) *APIKey
type AuthorizationItem ¶
type AuthorizationItem struct {
Id string `json:"id"`
Name string `json:"name"`
Apikeys []SimpleItem `json:"apikeys"`
}
type Item ¶
type Item struct {
*SimpleItem
Creator auto.Label `json:"creator" aolabel:"user"`
Updater auto.Label `json:"updater" aolabel:"user"`
CreateAt auto.TimeLabel `json:"create_time"`
UpdateAt auto.TimeLabel `json:"update_time"`
}
func ToAPIKeyItem ¶
func ToAPIKeyItem(e *system_apikey.APIKey) *Item
type SimpleItem ¶
type SimpleItem struct {
Id string `json:"id"`
Name string `json:"name"`
Value string `json:"value"`
Expired int64 `json:"expired"`
}
func ToAPIKeySimpleItem ¶
func ToAPIKeySimpleItem(e *system_apikey.APIKey) *SimpleItem
Click to show internal directories.
Click to hide internal directories.