output

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PutOutputObj added in v0.2.0

func PutOutputObj(obj *OutObj)

Types

type Counter added in v0.2.0

type Counter = counter.Counter

type Ctx added in v0.2.0

type Ctx outCtx.OutputCtx // outCtx.OutputCtx仅定义类成员,类方法在此文件中定义

func NewOutputCtx added in v0.2.0

func NewOutputCtx(outSetting *fuzzTypes.OutputSetting, jobCtx interfaceJobCtx.IFaceJobCtx, jid int) (*Ctx, error)

NewOutputCtx 根据输出设置,生成一个输出上下文,从而在之后可以使用此上下文进行输出

func (*Ctx) Close added in v0.2.0

func (c *Ctx) Close() error

Close 关闭一个输出上下文(此函数会阻塞直到所有输出、日志都完成才真正关闭)

func (*Ctx) Log added in v0.2.0

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

Log 输出一条日志

func (*Ctx) LogFmtMsg added in v0.2.0

func (c *Ctx) LogFmtMsg(format string, a ...any) error

LogFmtMsg 格式化输出日志

func (*Ctx) Output added in v0.2.0

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

Output 向输出上下文中输出数据

type Log

type Log = outputable.Log

type OutObj added in v0.1.7

type OutObj = outputable.OutObj

func GetOutputObj added in v0.2.0

func GetOutputObj() *OutObj

Jump to

Keyboard shortcuts

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