Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Debug bool Trace bool Name string ServiceAddr string ClusterAddr string ClusterName string GatewayAddr string GatewayAdvertise string Gateways []string Routes []string JetStream bool StoreDir string // Seconds to wait for JetStream to become ready (can take a lot of time when connecting to a cluster) JetStreamReadyTimeout int }
Config represents NATS service configuration
type LogEntry ¶
LogEntry represents LoggerV2 decorator for nats server logger
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents NATS service
func NewService ¶
NewService returns an instance of NATS service
func (*Service) Description ¶
func (*Service) WaitJetStreamReady ¶ added in v1.4.7
Click to show internal directories.
Click to hide internal directories.