Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessEntity ¶ added in v1.10.4
type AccessEntity struct { Id string `gorm:"column:id;primaryKey" json:"Id" form:"Id" comment:"Id"` Path string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"` UserId string `gorm:"column:user_id" json:"UserId" form:"UserId" comment:"UserId"` Access int `gorm:"column:access;default:1" json:"Access" form:"Access" comment:"Access"` Count int `gorm:"column:Count;type:int" json:"Count" form:"Count" comment:"Count"` Description string `gorm:"column:description" json:"Description" form:"Description" comment:"Description"` Status int `gorm:"column:status;type:int" json:"Status"` }
func (AccessEntity) TableName ¶ added in v1.10.4
func (AccessEntity) TableName() string
type LogCtxEntity ¶
type LogCtxEntity struct { app.IdTimeStampsModel Code string `gorm:"column:code" json:"Code" form:"Code" comment:"Code"` Level string `gorm:"column:level" json:"Level" form:"Level" comment:"Level"` Message string `gorm:"column:message" json:"Message" form:"Message" comment:"Message"` Ip string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"` Path string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"` Method string `gorm:"column:method" json:"Method" form:"Method" comment:"Method"` StatusCode int `gorm:"column:status_code" json:"StatusCode" form:"StatusCode" comment:"StatusCode"` Headers string `gorm:"column:headers" json:"Headers" form:"Headers" comment:"Headers"` Body string `gorm:"column:body" json:"Body" form:"Body" comment:"Body"` Latency int64 `gorm:"column:latency" json:"Latency,string" form:"Latency" comment:"Latency"` FileName string `gorm:"column:file_name" json:"FileName" form:"FileName" comment:"FileName"` FuncName string `gorm:"column:func_name" json:"FuncName" form:"FuncName" comment:"FuncName"` Data string `gorm:"column:data" json:"Data" form:"Data" comment:"Data"` }
func (LogCtxEntity) TableName ¶
func (c LogCtxEntity) TableName() string
type LogErrorEntity ¶
type LogErrorEntity struct { app.IdTimeStampsModel Code string `gorm:"column:code" json:"Code" form:"Code" comment:"Code"` Level string `gorm:"column:level" json:"Level" form:"Level" comment:"Level"` Message string `gorm:"column:message" json:"Message" form:"Message" comment:"Message"` Ip string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"` Path string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"` Method string `gorm:"column:method" json:"Method" form:"Method" comment:"Method"` StatusCode int `gorm:"column:status_code" json:"StatusCode" form:"StatusCode" comment:"StatusCode"` Headers string `gorm:"column:headers" json:"Headers" form:"Headers" comment:"Headers"` Body string `gorm:"column:body" json:"Body" form:"Body" comment:"Body"` Latency int64 `gorm:"column:latency" json:"Latency,string" form:"Latency" comment:"Latency"` FileName string `gorm:"column:file_name" json:"FileName" form:"FileName" comment:"FileName"` FuncName string `gorm:"column:func_name" json:"FuncName" form:"FuncName" comment:"FuncName"` Data string `gorm:"column:data" json:"Data" form:"Data" comment:"Data"` }
func (LogErrorEntity) TableName ¶
func (c LogErrorEntity) TableName() string
type LogInfoEntity ¶
type LogInfoEntity struct { app.IdTimeStampsModel Code string `gorm:"column:code" json:"Code" form:"Code" comment:"Code"` Level string `gorm:"column:level" json:"Level" form:"Level" comment:"Level"` Message string `gorm:"column:message" json:"Message" form:"Message" comment:"Message"` Ip string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"` }
func (LogInfoEntity) TableName ¶
func (c LogInfoEntity) TableName() string
Click to show internal directories.
Click to hide internal directories.