stdoutOutput

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ctx

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

func NewStdoutCtx

func NewStdoutCtx(outSetting *fuzzTypes.OutputSetting, id int) (*Ctx, error)

NewStdoutCtx 创建一个新的stdout fuzzCtx

func (*Ctx) Close

func (c *Ctx) Close() error

Close 关闭标准输出上下文

func (*Ctx) Log

func (c *Ctx) Log(log *outputable.Log) error

Log 向stdout输出一条日志

func (*Ctx) Output

func (c *Ctx) Output(obj *outputable.OutObj) error

Output 将outObj输出到标准输出流上

func (*Ctx) RegisterCounter

func (c *Ctx) RegisterCounter(cntr *counter.Counter) error

RegisterCounter 将一个counter注册到当前上下文中

Jump to

Keyboard shortcuts

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