plugin

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

"plugin" package declare some interfaces that developer can implement himself.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {

	// Print debug message.
	// NOTICE: The message does not end with newline character("\n"),
	// implementation should append one.
	Println(v ...interface{})
}

Logger interface for printing debug message.

Caller can implement himself, or simply uses log.Logger in stdlib.

Jump to

Keyboard shortcuts

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