Documentation ¶
Index ¶
Constants ¶
View Source
const (
AppName = "audit"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLog ¶
type AuditLog struct { Id string `bson:"_id" json:"id"` // 谁 Username string `bson:"username" json:"username"` // 什么时间 Time int64 `bson:"time" json:"time"` // 访问那个功能 ServiceId string `bson:"service_id" json:"service_id"` // 操作 Operate string `bson:"operate" json:"operate"` // 具体的请求内容 Request string `bson:"request" json:"request"` }
审计日志
func LoadAuditLogFromJosn ¶
func NewAuditLog ¶
func NewAuditLog() *AuditLog
func (*AuditLog) ToJsonByte ¶
type AuditLogSet ¶
type QueryAuditLogRequest ¶
type QueryAuditLogRequest struct { }
Click to show internal directories.
Click to hide internal directories.