mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 04:30:05 +00:00
Websocket 实时拉取
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
pb "github.com/p14yground/nezha/proto"
|
||||
)
|
||||
|
||||
// Server ..
|
||||
type Server struct {
|
||||
Common
|
||||
@@ -8,4 +12,7 @@ type Server struct {
|
||||
|
||||
Host Host
|
||||
State State
|
||||
|
||||
Stream pb.NezhaService_HeartbeatServer `gorm:"-" json:"-"`
|
||||
StreamClose chan<- error `gorm:"-" json:"-"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user