application

package
v0.0.29-beta.4 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 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)
	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