Make stream keys objects with comment instead of string slice

This commit is contained in:
Gabe Kangas
2022-11-23 16:39:55 -08:00
parent c9e3ccad45
commit c4dc802941
8 changed files with 46 additions and 19 deletions

7
models/streamKey.go Normal file
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"`
}