api

package
v0.0.36-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 12 Imported by: 0

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:

  1. 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

  2. api(github.com/byted-apaas/server-sdk-go) -> baas(github.com/byted-apaas/baas-sdk-go) api.Tasks -> baas.Tasks

  3. 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

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL