Help us shape the future of Go! Take the 2026 Go Developer Survey

audit

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuditSessionCmd

func AuditSessionCmd(cmd *cobra.Command, con *core.Console) error

func Commands

func Commands(con *core.Console) []*cobra.Command

Types

type AuditExport

type AuditExport struct {
	SessionID  string      `json:"session"`
	TaskID     string      `json:"task"`
	Command    string      `json:"command"`
	Total      int32       `json:"total"`
	Cur        int32       `json:"cur"`
	Response   interface{} `json:"response"`
	Request    interface{} `json:"request"`
	Created    string      `json:"created"`
	Finished   string      `json:"finished"`
	Lasted     string      `json:"lasted"`
	TaskResult string      `json:"taskResult"`
}

AuditExport 用于导出 JSON 保证字段顺序和命名符合需求 注意 taskResult 保留

Jump to

Keyboard shortcuts

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