Documentation ¶
Overview ¶
Package api is deprecated. Please use the new package instead.
Deprecated: This package is no longer maintained. Please refer to the example below to use the other new packages.
Example:
api(github.com/byted-apaas/server-sdk-go) -> application(github.com/byted-apaas/server-sdk-go) api.Data -> application.Data api.Metadata -> application.Metadata api.Resources -> application.Resources api.Msg -> application.Msg api.GetLogger -> application.GetLogger api.GetVar -> application.GlobalVar api.Tools.GetTenantInfo -> application.Tenant.GetTenantInfo api.User -> application.User api.Flow -> application.Flow api.GetContext -> application.GetContext api.GetContextMap -> application.GetContextMap
api(github.com/byted-apaas/server-sdk-go) -> baas(github.com/byted-apaas/baas-sdk-go) api.Tasks -> baas.Tasks
api(github.com/byted-apaas/server-sdk-go) -> faas(github.com/byted-apaas/faas-sdk-go) api.Function -> faas.Function api.Tools -> faas.Tools
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( Data = dataImpl.NewData(nil) Metadata = metadata.NewMetadata(nil) Resources = resources.NewResources(nil) Tasks = tasksImpl.NewTasks(nil) Msg = messageImpl.NewMsg(nil) GetLogger = logger.GetLogger Function = functionV2Impl.Function GetVar = global_config.GetVar Tools = tools.NewTools(nil) User = user.NewUser(nil) Flow = flow.NewFlow(nil) //GetContext 获得一些上游传入的系统上下文参数 GetContext = user.GetContext GetContextMap = user.GetContextMap Integration = integration.NewIntegration(nil) )
Functions ¶
This section is empty.
Types ¶
This section is empty.