hook

package
v0.0.42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKafka

func NewKafka(user, password, endpoint, topic string) *kafka

Types

type Hook

type Hook interface {
	// Establish for making connections
	Establish() error
	Fire(entry *logrus.Entry) error
	Levels() []logrus.Level
}

Hook 日志上传器

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL