Documentation ¶
Index ¶
- func GetServers(natsHost string, natsPort int, sharConcurrency int, apiAuth authz.APIFunc, ...) (*sharsvr.Server, *server.Server, error)
- type NatsLogger
- func (n *NatsLogger) Debugf(format string, v ...interface{})
- func (n *NatsLogger) Errorf(format string, v ...interface{})
- func (n *NatsLogger) Fatalf(format string, v ...interface{})
- func (n *NatsLogger) Noticef(format string, v ...interface{})
- func (n *NatsLogger) Tracef(format string, v ...interface{})
- func (n *NatsLogger) Warnf(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NatsLogger ¶
type NatsLogger struct { }
NatsLogger provides a simple logger that logs to console
func (*NatsLogger) Debugf ¶
func (n *NatsLogger) Debugf(format string, v ...interface{})
Debugf logs a debug statement
func (*NatsLogger) Errorf ¶
func (n *NatsLogger) Errorf(format string, v ...interface{})
Errorf logs an error
func (*NatsLogger) Fatalf ¶
func (n *NatsLogger) Fatalf(format string, v ...interface{})
Fatalf logs a fatal error
func (*NatsLogger) Noticef ¶
func (n *NatsLogger) Noticef(format string, v ...interface{})
Noticef logs a notice statement
func (*NatsLogger) Tracef ¶
func (n *NatsLogger) Tracef(format string, v ...interface{})
Tracef logs a trace statement
func (*NatsLogger) Warnf ¶
func (n *NatsLogger) Warnf(format string, v ...interface{})
Warnf logs a warning statement
Click to show internal directories.
Click to hide internal directories.