Documentation ¶
Index ¶
Constants ¶
View Source
const ( FaaSInfraSuccessCodeSuccess = "0" FaaSInfraFailCodeInternalError = "k_ec_000001" FaaSInfraFailCodeTokenExpire = "k_ident_013000" FaaSInfraFailCodeIllegalToken = "k_ident_013001" FaaSInfraFailCodeMissingToken = "k_fs_ec_100001" FaaSInfraFailCodeRateLimitError = "k_fs_ec_000004" )
View Source
const ( FaaSInfraPathMongodb = "/resource/v1/namespaces/:namespace/db" FaaSInfraPathRedis = "/resource/v1/namespaces/:namespace/cache" FaaSInfraPathFile = "/resource/v1/namespaces/:namespace/file" )
Variables ¶
This section is empty.
Functions ¶
func GetCommonHttpClient ¶
func GetFaaSInfraClient ¶
func GetFaaSInfraClient() *cHttp.HttpClient
func GetFaaSInfraPathFile ¶
func GetFaaSInfraPathFile() string
func GetFaaSInfraPathMongodb ¶
func GetFaaSInfraPathMongodb() string
func GetFaaSInfraPathRedis ¶
func GetFaaSInfraPathRedis() string
func IsSysError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.