Help us shape the future of Go! Take the 2026 Go Developer Survey

channel

package
v1.16.21 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// AppChannelMinTLSVersion is the minimum TLS version that the app channel will use.
	AppChannelMinTLSVersion = tls.VersionTLS12
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppChannel

type AppChannel interface {
	GetAppConfig(ctx context.Context, appID string) (*config.ApplicationConfig, error)
	InvokeMethod(ctx context.Context, req *invokev1.InvokeMethodRequest, appID string) (*invokev1.InvokeMethodResponse, error)
	HealthProbe(ctx context.Context) (*apphealth.Status, error)
	SetAppHealth(ah *apphealth.AppHealth)
	TriggerJob(ctx context.Context, name string, data *anypb.Any) (*invokev1.InvokeMethodResponse, error)
}

AppChannel is an abstraction over communications with user code.

type HTTPEndpointAppChannel added in v1.11.0

type HTTPEndpointAppChannel interface {
	InvokeMethod(ctx context.Context, req *invokev1.InvokeMethodRequest, appID string) (*invokev1.InvokeMethodResponse, error)
}

HTTPEndpointAppChannel is an abstraction over communications with http endpoint resources.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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