Documentation
      ¶
    
    
  
    
  
    Index ¶
- func NewDeserializerError(function string, message []byte, err error) error
 - func NewResponseError(code int, message string, stackTrace string, exceptions []string) error
 - type DefaultLogger
 - func (l *DefaultLogger) Debug(msg string, fields ...interface{})
 - func (l *DefaultLogger) Error(msg string, fields ...interface{})
 - func (l *DefaultLogger) Info(msg string, fields ...interface{})
 - func (l *DefaultLogger) Warn(msg string, fields ...interface{})
 - func (l *DefaultLogger) WithContext(ctx context.Context) ILogger
 
- type DeserializerError
 - type ILogger
 - type ResponseError
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeserializerError ¶
Types ¶
type DefaultLogger ¶
func NewDefaultLogger ¶
func NewDefaultLogger(zapLogger *zap.Logger) *DefaultLogger
func (*DefaultLogger) Debug ¶
func (l *DefaultLogger) Debug(msg string, fields ...interface{})
func (*DefaultLogger) Error ¶
func (l *DefaultLogger) Error(msg string, fields ...interface{})
func (*DefaultLogger) Info ¶
func (l *DefaultLogger) Info(msg string, fields ...interface{})
func (*DefaultLogger) Warn ¶
func (l *DefaultLogger) Warn(msg string, fields ...interface{})
func (*DefaultLogger) WithContext ¶
func (l *DefaultLogger) WithContext(ctx context.Context) ILogger
type DeserializerError ¶
type DeserializerError struct {
	// contains filtered or unexported fields
}
    func (*DeserializerError) Error ¶
func (d *DeserializerError) Error() string
type ILogger ¶
type ILogger interface {
	Info(msg string, fields ...interface{})
	Error(msg string, fields ...interface{})
	Warn(msg string, fields ...interface{})
	Debug(msg string, fields ...interface{})
	WithContext(ctx context.Context) ILogger
}
    var Logger ILogger = NewDefaultLogger(nil)
    type ResponseError ¶
type ResponseError struct {
	// contains filtered or unexported fields
}
    func (*ResponseError) Error ¶
func (r *ResponseError) Error() string
 Click to show internal directories. 
   Click to hide internal directories.