Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Remove unused methods

Gabe Kangas120172188d03
diff --git a/message.go b/message.go
index ab2c66db39..2a26112435 100644
--- a/message.go
+++ b/message.go
@@ -8,10 +8,6 @@ type ChatMessage struct {
MessageType string `json:"type"`
}
-func (s *ChatMessage) AsJson() string {
- return s.Author + " says " + s.Body
-}
-
func (s *ChatMessage) String() string {
return s.Author + " says " + s.Body
}
@@ -19,7 +15,3 @@ func (s *ChatMessage) String() string {
type PingMessage struct {
MessageType string `json:"type"`
}
-
-func (self *PingMessage) AsJson() string {
- return "{type: \"PING\"}"
-}