Documentation ¶
Index ¶
- type AppInfo
- type AppTokenResp
- type AppTokenResult
- type Avatar
- type CfVariabledeprecated
- type EventInfo
- type Flow
- type FlowExecution
- type FunctionIOParam
- type FunctionMeta
- type HttpConfig
- type I18n
- type I18nCnUs
- type I18ns
- type IOParamItem
- type Initiator
- type LookupWithAvatar
- type ParamUnauthField
- type Permission
- type RPCCliConf
- type RecordOnlyID
- type SDKConf
- type SDKTransientConf
- type Tenant
- type TenantInfo
- type UserContext
- type WebIDELog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppInfo ¶ added in v0.0.8
type AppInfo struct { Namespace string `json:"namespace"` Label I18nCnUs `json:"label"` Description I18nCnUs `json:"description"` CreatedAt int64 `json:"createdAt"` CreatedBy *LookupWithAvatar `json:"createdBy"` }
type AppTokenResp ¶
type AppTokenResp struct { AccessToken string `json:"accessToken"` ExpireTime int64 `json:"expireTime"` Namespace string `json:"namespace"` TenantInfo TenantInfo `json:"tenantInfo"` }
type AppTokenResult ¶
type AppTokenResult struct { Code string `json:"code"` Msg string `json:"msg"` Data AppTokenResp `json:"data"` }
type CfVariable
deprecated
added in
v0.0.2
type Flow ¶
type Flow struct { Execution FlowExecution `json:"execution"` APIName string `json:"apiName"` // Deprecated: 已废弃 Variables map[string]CfVariable `json:"variables"` }
type FlowExecution ¶
type FlowExecution struct { // 流程实例 ID ID int64 `json:"id"` }
FlowExecution 流程实例相关
type FunctionIOParam ¶ added in v0.0.19
type FunctionIOParam struct { Input []*IOParamItem `json:"input"` Output []*IOParamItem `json:"output"` }
type FunctionMeta ¶ added in v0.0.19
type FunctionMeta struct { ApiName string `json:"apiName"` IOParam FunctionIOParam `json:"io_param"` }
type HttpConfig ¶
type IOParamItem ¶ added in v0.0.19
type LookupWithAvatar ¶ added in v0.0.23
type ParamUnauthField ¶ added in v0.0.19
type Permission ¶ added in v0.0.19
type Permission struct {
UnauthFields map[string]interface{} `json:"_unauthFields"`
}
type RPCCliConf ¶
type RPCCliConf struct { Psm string `yaml:"Psm" json:"Psm"` DebugAddr string `yaml:"DebugAddr" json:"DebugAddr"` Cluster string `yaml:"Cluster" json:"Cluster"` IDC string `yaml:"IDC" json:"IDC"` Timeout time.Duration `yaml:"Timeout" json:"Timeout"` ConnTimeout time.Duration `yaml:"ConnTimeout" json:"ConnTimeout"` }
type RecordOnlyID ¶ added in v0.0.19
type RecordOnlyID struct {
ID interface{} `json:"_id"`
}
func (RecordOnlyID) GetID ¶ added in v0.0.19
func (r RecordOnlyID) GetID() (id int64)
type SDKConf ¶ added in v0.0.23
type SDKConf struct {
TransientConf *SDKTransientConf `json:"transientConf"`
}
type SDKTransientConf ¶ added in v0.0.23
type TenantInfo ¶
type UserContext ¶
type UserContext struct { Flow Flow `json:"flow"` Permission struct { UnauthFields map[string]interface{} `json:"_unauthFields"` } `json:"permission"` }
UserContext 上下文参数
Click to show internal directories.
Click to hide internal directories.