mirror of
				https://github.com/1Panel-dev/1Panel.git
				synced 2025-10-31 19:26:02 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			601 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			26 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"`
 | |
| }
 |