dlnaflags

package
v1.52.1-0...-9b21a15 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultOpt = Options{
	ListenAddr:   ":7879",
	FriendlyName: "",
	LogTrace:     false,
}

DefaultOpt contains the defaults options for DLNA serving.

View Source
var Help = `
### Server options

Use ` + "`--addr`" + ` to specify which IP address and port the server should
listen on, eg ` + "`--addr 1.2.3.4:8000` or `--addr :8080`" + ` to listen to all
IPs.

Use ` + "`--name`" + ` to choose the friendly server name, which is by
default "rclone (hostname)".

Use ` + "`--log-trace` in conjunction with `-vv`" + ` to enable additional debug
logging of all UPNP traffic.
`

Help contains the text for the command line help and manual.

View Source
var (
	Opt = DefaultOpt
)

Opt contains the options for DLNA serving.

Functions

func AddFlags

func AddFlags(flagSet *pflag.FlagSet)

AddFlags add the command line flags for DLNA serving.

Types

type Options

type Options struct {
	ListenAddr   string
	FriendlyName string
	LogTrace     bool
}

Options is the type for DLNA serving options.

Jump to

Keyboard shortcuts

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