channels

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 23 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channels

type Channels struct {
	// contains filtered or unexported fields
}

func New

func New(opts Options) *Channels

func (*Channels) AppChannel

func (c *Channels) AppChannel() channel.AppChannel

func (*Channels) AppHTTPClient

func (c *Channels) AppHTTPClient() *http.Client

func (*Channels) AppHTTPEndpoint

func (c *Channels) AppHTTPEndpoint() string

AppHTTPEndpoint Returns the HTTP endpoint for the app.

func (*Channels) BuildHTTPPipeline

func (c *Channels) BuildHTTPPipeline(spec *config.PipelineSpec) (middlehttp.Pipeline, error)

func (*Channels) EndpointChannels

func (c *Channels) EndpointChannels() map[string]channel.HTTPEndpointAppChannel

func (*Channels) HTTPEndpointsAppChannel

func (c *Channels) HTTPEndpointsAppChannel() channel.HTTPEndpointAppChannel

func (*Channels) Refresh

func (c *Channels) Refresh() error

type Options

type Options struct {
	// Registry is the all-component registry.
	Registry *registry.Registry

	// ComponentStore is the component store.
	ComponentStore *compstore.ComponentStore

	// Metadata is the metadata helper.
	Meta *meta.Meta

	// AppConnectionConfig is the application connection configuration.
	AppConnectionConfig config.AppConnectionConfig

	// GlobalConfig is the global configuration.
	GlobalConfig *config.Configuration

	// MaxRequestBodySize is the maximum request body size.
	MaxRequestBodySize int

	// ReadBufferSize is the read buffer size.
	ReadBufferSize int

	GRPC *manager.Manager
}

Jump to

Keyboard shortcuts

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