Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Tenant = tenantImpl.NewTenant(nil) App = appImpl.NewApp(nil) User = user.NewUser(nil) Event = eventImpl.NewEvent(nil) Data = dataImpl.NewData(nil) Metadata = metadata.NewMetadata(nil) GlobalVar = globalVarImpl.NewGlobalVar(nil) Flow = flow.NewFlow(nil) Resources = resources.NewResources(nil) Msg = messageImpl.NewMsg(nil) GetLogger = logger.GetLogger // GetContext 获得一些上游传入的系统上下文参数 GetContext = user.GetContext GetContextMap = user.GetContextMap Integration = integration.NewIntegration(nil) )
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { Data data.IDataV2 Resources *resources_v2.Resources Tools tools.ITools Integration integration.IIntegration // contains filtered or unexported fields }
func NewApplication ¶
func NewApplication(clientID, clientSecret string) *Application
func (*Application) Env ¶
func (a *Application) Env(env constants.PlatformEnvType) *Application
Env 设置平台的环境,当访问平台的非正式环境时使用
Click to show internal directories.
Click to hide internal directories.