checker

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker interface {
	SetLogger(logger log.Logger)
	Logger() log.Logger
	Check(ctx context.Context) bool
}

Checker is the interface that wraps the basic checker methods.

type LogAware added in v1.0.0

type LogAware struct {
	// contains filtered or unexported fields
}

LogAware represents log object.

func (*LogAware) Logger added in v1.0.0

func (la *LogAware) Logger() log.Logger

Logger gets default logger

func (*LogAware) SetLogger added in v1.0.0

func (la *LogAware) SetLogger(logger log.Logger)

SetLogger sets default logger

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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