Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ID string
Secret string
BroadcastKey string
SkipAuth bool
App node.Config
RPC rpc.Config
BrokerAdapter string
Broker broker.Config
Redis rconfig.RedisConfig
HTTPBroadcast broadcast.HTTPConfig
NATS nconfig.NATSConfig
Host string
Port int
MaxConn int
BroadcastAdapter string
PubSubAdapter string
Path []string
HealthPath string
Headers []string
Cookies []string
SSL server.SSLConfig
WS ws.Config
MaxMessageSize int64
DisconnectorDisabled bool
DisconnectQueue node.DisconnectQueueConfig
LogLevel string
LogFormat string
Debug bool
Metrics metrics.Config
JWT identity.JWTConfig
EmbedNats bool
EmbeddedNats enats.Config
SSE sse.Config
Streams streams.Config
UserPresets []string
}
Config contains main application configuration
func (*Config) LoadPresets ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.