Documentation ¶ Index ¶ func DoJsonHttp(url string, body []byte, action string) ([]byte, error) func Logger() *logrus.Logger type ContextHook func (hook ContextHook) Fire(entry *logrus.Entry) error func (hook ContextHook) Levels() []logrus.Level Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DoJsonHttp ¶ func DoJsonHttp(url string, body []byte, action string) ([]byte, error) func Logger ¶ added in v1.0.1 func Logger() *logrus.Logger Types ¶ type ContextHook ¶ added in v1.0.1 type ContextHook struct { } func (ContextHook) Fire ¶ added in v1.0.1 func (hook ContextHook) Fire(entry *logrus.Entry) error func (ContextHook) Levels ¶ added in v1.0.1 func (hook ContextHook) Levels() []logrus.Level Source Files ¶ View all Source files http.go log.go Click to show internal directories. Click to hide internal directories.