application

package
v0.0.35-beta.3 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 20 Imported by: 0

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)
	DataV2    = dataImpl.NewDataV3(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

Env 设置平台的环境,当访问平台的非正式环境时使用

func (*Application) Function

func (a *Application) Function(apiName string) function.IFunction

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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