logmodel

package
v0.0.3-0...-f12fa88 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogModel

type LogModel struct {
	ID                     primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	OperatorID             primitive.ObjectID `bson:"operator_id,omitempty" json:"operator_id,omitempty"`
	Operation              int32              `bson:"operation,omitempty" json:"operation,omitempty"`
	OperationTargetID      primitive.ObjectID `bson:"operation_target_id,omitempty" json:"operation_target_id,omitempty"`
	LogLevel               int32              `bson:"log_level,omitempty" json:"log_level,omitempty"`
	ExtraMessage           string             `bson:"extra_message,omitempty" json:"extra_message,omitempty"`
	CreateTime             time.Time          `bson:"create_time,omitempty" json:"create_time,omitempty"`
	UpdateTime             time.Time          `bson:"update_time,omitempty" json:"update_time,omitempty"`
	OperationTargetOwnerID primitive.ObjectID `bson:"operation_target_owner_id,omitempty" json:"operation_target_owner_id,omitempty"`
	Processed              bool               `bson:"processed" json:"processed,omitempty"`
}

Jump to

Keyboard shortcuts

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