channels

package
v1.13.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

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) 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

	// AppMiddlware is the application middleware.
	AppMiddleware middleware.HTTP

	// 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