Make stream keys objects with comment instead of string slice
This commit is contained in:
7
models/streamKey.go
Normal file
7
models/streamKey.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package models
|
||||
|
||||
// StreamKey represents a single stream key
|
||||
type StreamKey struct {
|
||||
Key string `json:"key"`
|
||||
Comment string `json:"comment"`
|
||||
}
|
||||
Reference in New Issue
Block a user