Documentation
¶
Index ¶
- type HTTPServer
- type Logger
- func (_m *Logger) Debug(v ...interface{})
- func (_m *Logger) Debugf(f string, v ...interface{})
- func (_m *Logger) Error(v ...interface{})
- func (_m *Logger) Errorf(f string, v ...interface{})
- func (_m *Logger) Fatal(v ...interface{})
- func (_m *Logger) Fatalf(f string, v ...interface{})
- func (_m *Logger) Info(v ...interface{})
- func (_m *Logger) Infof(f string, v ...interface{})
- func (_m *Logger) Warn(v ...interface{})
- func (_m *Logger) Warnf(f string, v ...interface{})
- type Producer
- type ProducerConn
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
HTTPServer is a mock server that represents Go's http.Server.
func (*HTTPServer) ListenAndServe ¶
func (_m *HTTPServer) ListenAndServe() error
ListenAndServe is the mock equivalent to http.Server.ListenAndServe().
type Logger ¶
Logger is a mock server.
func (*Logger) Debug ¶
func (_m *Logger) Debug(v ...interface{})
Debug is the mock equivalent to logger.Debug().
func (*Logger) Error ¶
func (_m *Logger) Error(v ...interface{})
Error is the mock equivalent to logger.Error().
func (*Logger) Fatal ¶
func (_m *Logger) Fatal(v ...interface{})
Fatal is the mock equivalent to logger.Fatal().
func (*Logger) Info ¶
func (_m *Logger) Info(v ...interface{})
Info is the mock equivalent to logger.Info().
type Producer ¶
Producer is a mock NATS producer.
func (*Producer) CloseConn ¶
func (_m *Producer) CloseConn()
CloseConn is the mock equivalent to Producer.CloseConn().
func (*Producer) PublishMessage ¶
PublishMessage is the mock equivalent to Producer.PublishMessage().
type ProducerConn ¶
ProducerConn is a mock NATS TCP connection.
func (*ProducerConn) Close ¶
func (_m *ProducerConn) Close()
Close is the mock equivalent to ProducerConn.Close().
Click to show internal directories.
Click to hide internal directories.