Versions in this module Expand all Collapse all v1 v1.1.0 Oct 1, 2026 Changes in this version + var NewNATSServer = func(opts *natsserver.Options) (NATSServerInstance, error) + type NATSServerInstance interface + ReadyForConnections func(timeout time.Duration) bool + SetLogger func(logger natsserver.Logger, debug, trace bool) + Shutdown func() + Start func() + type Options struct + ReadyTimeout time.Duration + type Server struct + Opts *Options + func New(logger *slog.Logger, opts *Options) *Server + func (s *Server) Start() error + func (s *Server) Stop() + type SlogWrapper struct + func (l *SlogWrapper) Debugf(format string, v ...interface{}) + func (l *SlogWrapper) Errorf(format string, v ...interface{}) + func (l *SlogWrapper) Fatalf(format string, v ...interface{}) + func (l *SlogWrapper) Noticef(format string, v ...interface{}) + func (l *SlogWrapper) Tracef(format string, v ...interface{}) + func (l *SlogWrapper) Warnf(format string, v ...interface{})