mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	
		
			
	
	
		
			15 lines
		
	
	
		
			301 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			301 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package entity
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import (
							 | 
						||
| 
								 | 
							
									"time"
							 | 
						||
| 
								 | 
							
								)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type MachineMonitor struct {
							 | 
						||
| 
								 | 
							
									Id         uint64    `json:"id"`
							 | 
						||
| 
								 | 
							
									MachineId  uint64    `json:"machineId"`
							 | 
						||
| 
								 | 
							
									CpuRate    float32   `json:"cpuRate"`
							 | 
						||
| 
								 | 
							
									MemRate    float32   `json:"memRate"`
							 | 
						||
| 
								 | 
							
									SysLoad    string    `json:"sysLoad"`
							 | 
						||
| 
								 | 
							
									CreateTime time.Time `json:"createTime"`
							 | 
						||
| 
								 | 
							
								}
							 |