Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrPSConnection is a connection error ErrPSConnection = errors.New("Failed to connect Pub/Sub service") // ErrPSPublish is a publish error ErrPSPublish = errors.New("Failed to publish message") )
View Source
var ( // AppLog is a globle instance of logrus.Logger AppLog *logrus.Logger )
View Source
var (
// Conf is config instance
Conf config
)
Functions ¶
func SetLogLevel ¶
SetLogLevel is define log level what you want log level: panic, fatal, error, warn, info and debug
Types ¶
Click to show internal directories.
Click to hide internal directories.