memOutput

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllLogs

func GetAllLogs() []string

GetAllLogs 获取所有日志

func GetAllObjects

func GetAllObjects() []json.RawMessage

GetAllObjects 返回所有 JSON 数据

func GetLogs

func GetLogs(start, end int) []string

GetLogs 获取指定范围日志

func GetObjects

func GetObjects(start, end int) []json.RawMessage

GetObjects 返回指定范围的 JSON 数据

func InitOutput

func InitOutput()

func Log

func Log(msg string)

Log 添加一条日志

func Output

func Output(obj *common.OutObj)

Output 接收 common.OutObj 并以 JSON 形式存储

Types

This section is empty.

Jump to

Keyboard shortcuts

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