mirror of
https://github.com/owncast/owncast.git
synced 2024-11-24 21:59:43 +03:00
Remove unused methods
This commit is contained in:
parent
96870870e1
commit
120172188d
1 changed files with 0 additions and 8 deletions
|
@ -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\"}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue