mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-11 18:05:59 +08:00
27 lines
601 B
Go
27 lines
601 B
Go
|
package dto
|
||
|
|
||
|
import (
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
type OperationLogBack struct {
|
||
|
ID uint `json:"id"`
|
||
|
Group string `json:"group"`
|
||
|
Source string `json:"source"`
|
||
|
Action string `json:"action"`
|
||
|
|
||
|
IP string `json:"ip"`
|
||
|
Path string `json:"path"`
|
||
|
Method string `json:"method"`
|
||
|
UserAgent string `json:"userAgent"`
|
||
|
Body string `json:"body"`
|
||
|
Resp string `json:"resp"`
|
||
|
|
||
|
Status int `json:"status"`
|
||
|
Latency time.Duration `json:"latency"`
|
||
|
ErrorMessage string `json:"errorMessage"`
|
||
|
|
||
|
Detail string `json:"detail"`
|
||
|
CreatedAt time.Time `json:"createdAt"`
|
||
|
}
|