mirror of
				https://github.com/owncast/owncast.git
				synced 2025-11-01 02:44:31 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			470 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			470 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package models
 | |
| 
 | |
| import (
 | |
| 	"github.com/owncast/owncast/utils"
 | |
| )
 | |
| 
 | |
| // Stats holds the stats for the system.
 | |
| type Stats struct {
 | |
| 	SessionMaxViewerCount int            `json:"sessionMaxViewerCount"`
 | |
| 	OverallMaxViewerCount int            `json:"overallMaxViewerCount"`
 | |
| 	LastDisconnectTime    utils.NullTime `json:"lastDisconnectTime"`
 | |
| 
 | |
| 	StreamConnected bool              `json:"-"`
 | |
| 	LastConnectTime utils.NullTime    `json:"-"`
 | |
| 	Clients         map[string]Client `json:"-"`
 | |
| }
 | 
