Documentation
¶
Index ¶
- type Channels
- func (c *Channels) AppChannel() channel.AppChannel
- func (c *Channels) AppHTTPClient() *http.Client
- func (c *Channels) AppHTTPEndpoint() string
- func (c *Channels) EndpointChannels() map[string]channel.HTTPEndpointAppChannel
- func (c *Channels) HTTPEndpointsAppChannel() channel.HTTPEndpointAppChannel
- func (c *Channels) Refresh() error
- type Options
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 (*Channels) AppChannel ¶
func (c *Channels) AppChannel() channel.AppChannel
func (*Channels) AppHTTPClient ¶
func (*Channels) AppHTTPEndpoint ¶
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
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, in bytes.
MaxRequestBodySize int
// ReadBufferSize is the read buffer size, in bytes
ReadBufferSize int
GRPC *manager.Manager
AppAPIToken string
}
Click to show internal directories.
Click to hide internal directories.