Versions in this module Expand all Collapse all v6 v6.0.2 Feb 2, 2025 v6.0.1 Jan 19, 2025 Changes in this version + const DefaultProxyName + const TransportErrorMode + func DefineFlags(rootCmd *cobra.Command) + func GetConfig(cmd *cobra.Command, configFile string) (Config, Meta, error) + type Config struct + Admin configtypes.Admin + Broker configtypes.Broker + Channel configtypes.Channel + Client configtypes.Client + Consumers configtypes.Consumers + Debug configtypes.Debug + Emulation configtypes.Emulation + EnableUnreleasedFeatures bool + Engine configtypes.Engine + Graphite configtypes.Graphite + GrpcAPI configtypes.GrpcAPI + HTTP configtypes.HTTPServer + HTTPStream configtypes.HTTPStream + Health configtypes.Health + HttpAPI configtypes.HttpAPI + Log configtypes.Log + Node configtypes.Node + OpenTelemetry configtypes.OpenTelemetry + PidFile string + PresenceManager configtypes.PresenceManager + Prometheus configtypes.Prometheus + Proxies configtypes.NamedProxies + RPC configtypes.RPC + SSE configtypes.SSE + Shutdown configtypes.Shutdown + Swagger configtypes.Swagger + UniGRPC configtypes.UniGRPC + UniHTTPStream configtypes.UniHTTPStream + UniSSE configtypes.UniSSE + UniWS configtypes.UniWebSocket + UsageStats configtypes.UsageStats + WebSocket configtypes.WebSocket + WebTransport configtypes.WebTransport + func DefaultConfig() Config + func (c Config) Validate() error + type Container struct + ChannelOptionsCacheTTL time.Duration + func NewContainer(config Config) (*Container, error) + func (n *Container) ChannelOptions(ch string) (string, string, configtypes.ChannelOptions, bool, error) + func (n *Container) Config() Config + func (n *Container) IsPrivateChannel(ch string) bool + func (n *Container) IsUserLimited(ch string) bool + func (n *Container) NumNamespaces() int + func (n *Container) NumRpcNamespaces() int + func (n *Container) PersonalChannel(user string) string + func (n *Container) Reload(c Config) error + func (n *Container) RpcOptions(method string) (configtypes.RpcOptions, bool, error) + func (n *Container) UserAllowed(ch string, user string) bool + type Meta struct + FileNotFound bool + KnownEnvVars map[string]envconfig.VarInfo + UnknownEnvs []string + UnknownKeys []string