Update to Go 1.20 + run better align (#2927)
* chore(go): update go version to 1.20. Closes #2185 * chore(go): run better align against project To optimize struct field order. Closes #2870 * chore(go): update CI jobs to use Go 1.20 * fix(go): linter warnings for Go 1.20 update
This commit is contained in:
@@ -8,32 +8,37 @@ import (
|
||||
|
||||
// Defaults will hold default configuration values.
|
||||
type Defaults struct {
|
||||
Name string
|
||||
Title string
|
||||
PageBodyContent string
|
||||
|
||||
FederationGoLiveMessage string
|
||||
|
||||
Summary string
|
||||
ServerWelcomeMessage string
|
||||
Logo string
|
||||
Tags []string
|
||||
PageBodyContent string
|
||||
YPServer string
|
||||
|
||||
Title string
|
||||
|
||||
DatabaseFilePath string
|
||||
WebServerPort int
|
||||
WebServerIP string
|
||||
RTMPServerPort int
|
||||
AdminPassword string
|
||||
StreamKeys []models.StreamKey
|
||||
|
||||
YPEnabled bool
|
||||
YPServer string
|
||||
FederationUsername string
|
||||
WebServerIP string
|
||||
Name string
|
||||
AdminPassword string
|
||||
StreamKeys []models.StreamKey
|
||||
|
||||
StreamVariants []models.StreamOutputVariant
|
||||
|
||||
Tags []string
|
||||
RTMPServerPort int
|
||||
SegmentsInPlaylist int
|
||||
|
||||
SegmentLengthSeconds int
|
||||
SegmentsInPlaylist int
|
||||
StreamVariants []models.StreamOutputVariant
|
||||
|
||||
FederationUsername string
|
||||
FederationGoLiveMessage string
|
||||
WebServerPort int
|
||||
|
||||
ChatEstablishedUserModeTimeDuration time.Duration
|
||||
|
||||
YPEnabled bool
|
||||
}
|
||||
|
||||
// GetDefaults will return default configuration values.
|
||||
|
||||
Reference in New Issue
Block a user