Documentation ¶
Index ¶
Constants ¶
View Source
const ( WorkerStatusStop = 1 WorkerStatusLive = 0 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChartApiRsp ¶
type Core ¶
type Core struct { SocketAddr string WebAddr string WebsocketUpgrade websocket.Upgrader ConnMutex sync.RWMutex Clients sync.Map // 客户端集合 TextSafer component.TextSafe IpSearch *component.IpSearch // contains filtered or unexported fields }
Core 核心处理
func (*Core) ChartDataApi ¶
func (s *Core) ChartDataApi(w http.ResponseWriter, r *http.Request)
ChartDataApi 统计了一天内在线人数趋势
Click to show internal directories.
Click to hide internal directories.