You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
427 B
Go

package Configuration
// Configuration
type Configuration struct {
Domain string
TLSCertificate string
TLSKey string
FileServer FileServerConfiguration
}
// File Server Configuration
type FileServerConfiguration struct {
Active bool
Routes []RoutesFileServerConfiguration
}
// Routes File Server Configuration
type RoutesFileServerConfiguration struct {
ResourcePath string
ServePath string
}