logic

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logic

type Logic struct {
	Config config.Config
	Logger *zap.SugaredLogger
}

func NewLogic

func NewLogic(c config.Config, l *zap.SugaredLogger) *Logic

func (*Logic) ShouldWeReport

func (l *Logic) ShouldWeReport(lb LogicBug) bool

ShouldWeReport nolint: gocyclo

type LogicBug

type LogicBug struct {
	LastReported  time.Time
	FirstReported time.Time
	TimesReported int
}

Jump to

Keyboard shortcuts

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