Template streaming
This commit is contained in:
16
heartbeat.go
Normal file
16
heartbeat.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package main
|
||||
|
||||
type Heartbeat struct {
|
||||
}
|
||||
|
||||
func NewHeartbeat() *Heartbeat {
|
||||
return &Heartbeat{}
|
||||
}
|
||||
|
||||
func (h *Heartbeat) GetType() string {
|
||||
return "heartbeat"
|
||||
}
|
||||
|
||||
func (h *Heartbeat) GetId() string {
|
||||
return ""
|
||||
}
|
||||
Reference in New Issue
Block a user