Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RateLimitedWriter ¶
type RateLimitedWriter struct {
// contains filtered or unexported fields
}
func NewRateLimitedWriter ¶
func NewRateLimitedWriter(limitPerSecond float32, burst int, level logrus.Level) *RateLimitedWriter
func (*RateLimitedWriter) Levels ¶
func (hook *RateLimitedWriter) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.