rclone: github.com/ncw/rclone/cmd/serve/dlna/dlnaflags Index | Files

package dlnaflags

import "github.com/ncw/rclone/cmd/serve/dlna/dlnaflags"

Index

Package Files

dlnaflags.go

Variables

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

DefaultOpt contains the defaults options for DLNA serving.

var Help = "" /* 347 byte string literal not displayed */

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

var (
    Opt = DefaultOpt
)

Opt contains the options for DLNA serving.

func AddFlags Uses

func AddFlags(flagSet *pflag.FlagSet)

AddFlags add the command line flags for DLNA serving.

type Options Uses

type Options struct {
    ListenAddr   string
    FriendlyName string
    LogTrace     bool
}

Options is the type for DLNA serving options.

Package dlnaflags imports 3 packages (graph) and is imported by 1 packages. Updated 2019-08-17. Refresh now. Tools for package owners.