Documentation
¶
Index ¶
- type Config
- type LogEntry
- func (e *LogEntry) Debugf(format string, v ...interface{})
- func (e *LogEntry) Errorf(format string, v ...interface{})
- func (e *LogEntry) Fatalf(format string, v ...interface{})
- func (e *LogEntry) Infof(format string, v ...interface{})
- func (e *LogEntry) Noticef(format string, v ...interface{})
- func (e *LogEntry) Tracef(format string, v ...interface{})
- func (e *LogEntry) Warnf(format string, v ...interface{})
- type Service
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.