nezha/model/server.go
2019-12-10 17:57:57 +08:00

19 lines
298 B
Go

package model
import (
pb "github.com/p14yground/nezha/proto"
)
// Server ..
type Server struct {
Common
Name string
Secret string
Host Host
State State
Stream pb.NezhaService_HeartbeatServer `gorm:"-" json:"-"`
StreamClose chan<- error `gorm:"-" json:"-"`
}