mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
19 lines
582 B
Go
19 lines
582 B
Go
package console
|
|
|
|
import "akvorado/console/authentication"
|
|
|
|
// Configuration describes the configuration for the console component.
|
|
type Configuration struct {
|
|
// ServeLiveFS serve files from the filesystem instead of the embedded versions.
|
|
ServeLiveFS bool
|
|
// Authentication describes authentication configuration
|
|
Authentication authentication.Configuration
|
|
}
|
|
|
|
// DefaultConfiguration represents the default configuration for the console component.
|
|
func DefaultConfiguration() Configuration {
|
|
return Configuration{
|
|
Authentication: authentication.DefaultConfiguration(),
|
|
}
|
|
}
|