Make stream keys objects with comment instead of string slice

This commit is contained in:
Gabe Kangas
2022-11-29 16:05:44 -08:00
parent c9e3ccad45
commit c4dc802941
8 changed files with 46 additions and 19 deletions
+7
View File
@@ -0,0 +1,7 @@
package models
// StreamKey represents a single stream key
type StreamKey struct {
Key string `json:"key"`
Comment string `json:"comment"`
}