Template streaming

This commit is contained in:
Ian Gulliver
2022-03-18 05:51:09 +00:00
parent 61ac021269
commit 7f822c1631
2 changed files with 63 additions and 13 deletions

16
heartbeat.go Normal file
View 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 ""
}