Documentation
¶
Index ¶
Constants ¶
View Source
const ( UID_KEY = "uid" SECRET_KEY = "sk" )
View Source
const ( RootStatusDeleted = -1 RootStatusNormal = 0 RootStatusDisable = 1 )
View Source
const ( UID_USAGE_KEY = "api:%d:usage:%s" USAGE_COUNT_FIELD = "usage_count" USED_TOKENS_FIELD = "used_tokens" TOTAL_TOKENS_FIELD = "total_tokens" )
View Source
const (
LOCK_SK_KEY = "api:lock:sk:%s"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.