cmd

package
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2020 License: GPL-3.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute is the main launcher for the root command; this is where we bind some useful flags

Types

type Config added in v0.3.3

type Config struct {
	Debug   DebugConfig
	Server  ServerConfig
	Library LibraryConfig
}

Config is the base struct populated from the configuration file on disk by viper

type DebugConfig added in v0.3.3

type DebugConfig struct {
	StreamingPages bool
	TranscoderLog  bool
}

DebugConfig is for debug settings

type LibraryConfig added in v0.3.3

type LibraryConfig struct {
}

LibraryConfig is for library settings

type ServerConfig added in v0.3.3

type ServerConfig struct {
	Port             int
	Verbose          bool
	DBLog            bool
	DBConn           string
	DirectFileAccess bool
	SystemFFMPEG     bool
}

ServerConfig is for server settings

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL