auditoplog

package
v3.1.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditLogContext

type AuditLogContext struct {
	ID      int64 //操作实例id
	Content interface{}
}

type AuditLogExt

type AuditLogExt struct {
	ID      int64 //操作实例id
	Content interface{}
	ExtKey  string
}

type AuditLogHosts

type AuditLogHosts struct {
	ID      int64
	Content interface{}
	InnerIP string
}

type AuditOpType

type AuditOpType int

AuditOpType log type

const (
	// AuditOpTypeAdd  object add log
	AuditOpTypeAdd AuditOpType = iota + 1
	// AuditOpTypeModify object add log
	AuditOpTypeModify AuditOpType = 2
	// AuditOpTypeDel object del log
	AuditOpTypeDel AuditOpType = 3
	// AuditOpTypeHostModule host  change module
	AuditOpTypeHostModule AuditOpType = 100
)

Jump to

Keyboard shortcuts

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