Discover Packages
github.com/APIParkLab/APIPark
module
ai-key
dto
package
Version:
v1.4.2-beta
Opens a new window with list of versions in this module.
Published: Jan 16, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Create struct {
Id string `json:"id"`
Name string `json:"name"`
Config string `json:"config"`
ExpireTime int `json:"expire_time"`
}
type Edit struct {
Name *string `json:"name"`
Config *string `json:"config"`
ExpireTime *int `json:"expire_time"`
}
type Item struct {
Id string `json:"id"`
Name string `json:"name"`
Status KeyStatus `json:"status"`
UseToken int `json:"use_token"`
UpdateTime auto .TimeLabel `json:"update_time"`
ExpireTime int `json:"expire_time"`
Priority int `json:"priority"`
CanDelete bool `json:"can_delete"`
}
type Key struct {
Id string `json:"id"`
Name string `json:"name"`
Config string `json:"config"`
ExpireTime int `json:"expire_time"`
}
type Sort struct {
Origin string `json:"origin"`
Target string `json:"target"`
Sort string `json:"sort"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.