Move around how SocialHandles are configured. Closes #30
This commit is contained in:
@@ -33,10 +33,15 @@ type InstanceDetails struct {
|
||||
Summary string `yaml:"summary" json:"summary"`
|
||||
Logo map[string]string `yaml:"logo" json:"logo"`
|
||||
Tags []string `yaml:"tags" json:"tags"`
|
||||
SocialHandles map[string]string `yaml:"socialHandles" json:"socialHandles"`
|
||||
SocialHandles []socialHandle `yaml:"socialHandles" json:"socialHandles"`
|
||||
ExtraInfoFile string `yaml:"extraUserInfoFileName" json:"extraUserInfoFileName"`
|
||||
}
|
||||
|
||||
type socialHandle struct {
|
||||
Platform string `yaml:"platform" json:"platform"`
|
||||
URL string `yaml:"url" json:"url"`
|
||||
}
|
||||
|
||||
type videoSettings struct {
|
||||
ChunkLengthInSeconds int `yaml:"chunkLengthInSeconds"`
|
||||
StreamingKey string `yaml:"streamingKey"`
|
||||
|
||||
Reference in New Issue
Block a user