Documentation
¶
Index ¶
- Constants
- func GetAutostartVideo() bool
- func GetCSS() string
- func GetCSSEnabled() bool
- func GetCSSPath() string
- func GetCachePath() string
- func GetCredentials() (string, string)
- func GetDatabasePath() string
- func GetDefaultScrapersPath() string
- func GetExcludes() []string
- func GetExternalHost() string
- func GetGeneratedPath() string
- func GetHost() string
- func GetLogAccess() bool
- func GetLogFile() string
- func GetLogLevel() string
- func GetLogOut() bool
- func GetMaxStreamingTranscodeSize() models.StreamingResolutionEnum
- func GetMaxTranscodeSize() models.StreamingResolutionEnum
- func GetMaximumLoopDuration() int
- func GetMetadataPath() string
- func GetPasswordHash() string
- func GetPort() int
- func GetScrapersPath() string
- func GetShowStudioAsText() bool
- func GetSoundOnPreview() bool
- func GetStashPaths() []string
- func GetUsername() string
- func GetWallShowTitle() bool
- func HasCredentials() bool
- func IsValid() bool
- func Set(key string, value interface{})
- func SetCSS(css string)
- func SetPassword(value string)
- func ValidateCredentials(username string, password string) bool
- func Write() error
Constants ¶
View Source
const AutostartVideo = "autostart_video"
View Source
const CSSEnabled = "cssEnabled"
View Source
const Cache = "cache"
View Source
const Database = "database"
View Source
const Downloads = "downloads"
View Source
const Exclude = "exclude"
View Source
const ExternalHost = "external_host"
View Source
const Generated = "generated"
View Source
const Host = "host"
View Source
const LogAccess = "logAccess"
View Source
const LogFile = "logFile"
Logging options
View Source
const LogLevel = "logLevel"
View Source
const LogOut = "logOut"
View Source
const MaxStreamingTranscodeSize = "max_streaming_transcode_size"
View Source
const MaxTranscodeSize = "max_transcode_size"
View Source
const MaximumLoopDuration = "maximum_loop_duration"
View Source
const Metadata = "metadata"
View Source
const Password = "password"
View Source
const Port = "port"
View Source
const ScrapersPath = "scrapers_path"
View Source
const ShowStudioAsText = "show_studio_as_text"
View Source
const SoundOnPreview = "sound_on_preview"
Interface options
View Source
const Stash = "stash"
View Source
const Username = "username"
View Source
const WallShowTitle = "wall_show_title"
Variables ¶
This section is empty.
Functions ¶
func GetAutostartVideo ¶
func GetAutostartVideo() bool
func GetCSSEnabled ¶
func GetCSSEnabled() bool
func GetCSSPath ¶
func GetCSSPath() string
func GetCachePath ¶
func GetCachePath() string
func GetCredentials ¶
func GetDatabasePath ¶
func GetDatabasePath() string
func GetDefaultScrapersPath ¶
func GetDefaultScrapersPath() string
func GetExcludes ¶
func GetExcludes() []string
func GetExternalHost ¶
func GetExternalHost() string
func GetGeneratedPath ¶
func GetGeneratedPath() string
func GetLogAccess ¶
func GetLogAccess() bool
GetLogAccess returns true if http requests should be logged to the terminal. HTTP requests are not logged to the log file. Defaults to true.
func GetLogFile ¶
func GetLogFile() string
GetLogFile returns the filename of the file to output logs to. An empty string means that file logging will be disabled.
func GetLogLevel ¶
func GetLogLevel() string
GetLogLevel returns the lowest log level to write to the log. Should be one of "Debug", "Info", "Warning", "Error"
func GetLogOut ¶
func GetLogOut() bool
GetLogOut returns true if logging should be output to the terminal in addition to writing to a log file. Logging will be output to the terminal if file logging is disabled. Defaults to true.
func GetMaxStreamingTranscodeSize ¶
func GetMaxStreamingTranscodeSize() models.StreamingResolutionEnum
func GetMaxTranscodeSize ¶
func GetMaxTranscodeSize() models.StreamingResolutionEnum
func GetMaximumLoopDuration ¶
func GetMaximumLoopDuration() int
func GetMetadataPath ¶
func GetMetadataPath() string
func GetPasswordHash ¶
func GetPasswordHash() string
func GetScrapersPath ¶
func GetScrapersPath() string
func GetShowStudioAsText ¶
func GetShowStudioAsText() bool
func GetStashPaths ¶
func GetStashPaths() []string
func GetUsername ¶
func GetUsername() string
func GetWallShowTitle ¶
func GetWallShowTitle() bool
func HasCredentials ¶
func HasCredentials() bool
func SetPassword ¶
func SetPassword(value string)
func ValidateCredentials ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.