tip

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHandlerWrapperList added in v1.1.0

func GetHandlerWrapperList() []handler.Wrapper

Types

type Client

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

func NewClient

func NewClient(wrappers []handler.Wrapper) *Client

func (*Client) AppendResult

func (c *Client) AppendResult(ctx context.Context, name string, results []handler.Result) (err error)

AppendResult

func (*Client) Run

func (c *Client) Run(ctx context.Context) (err error)

Run

func (*Client) SetSpiderWrapper

func (c *Client) SetSpiderWrapper(wrappers []handler.Wrapper) (err error)

SetSpiderWrapper

func (*Client) ShowHelpInfo

func (c *Client) ShowHelpInfo()

ShowHelpInfo

type DefaultFieldsHook added in v1.1.0

type DefaultFieldsHook struct{}

func (*DefaultFieldsHook) Fire added in v1.1.0

func (df *DefaultFieldsHook) Fire(entry *log.Entry) error

func (*DefaultFieldsHook) Levels added in v1.1.0

func (df *DefaultFieldsHook) Levels() []log.Level

Jump to

Keyboard shortcuts

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