Help us shape the future of Go! Take the 2026 Go Developer Survey

options

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDeliveryArg

func AddDeliveryArg(cmd *cobra.Command, po *DeliveryOptions)

func AddEventArgs

func AddEventArgs(cmd *cobra.Command, eo *EventOptions)

func AddFilenameArg

func AddFilenameArg(cmd *cobra.Command, fo *FilenameOptions)

func AddPathArg

func AddPathArg(cmd *cobra.Command, po *PathOptions)

func AddPortArg

func AddPortArg(cmd *cobra.Command, po *PortOptions)

func AddTeeArg

func AddTeeArg(cmd *cobra.Command, to *TeeOptions)

func AddVerboseArg

func AddVerboseArg(cmd *cobra.Command, vo *VerboseOptions)

func AddYAMLArg

func AddYAMLArg(cmd *cobra.Command, yo *YAMLOptions)

Types

type DeliveryOptions

type DeliveryOptions struct {
	Delay string
}

DeliveryOptions

type EventOptions

type EventOptions struct {
	Event      event.Event
	Extensions []string // in the form key=value
	Now        bool
}

EventOptions

type FilenameOptions

type FilenameOptions struct {
	Filenames []string
	Recursive bool
}

FilenameOptions

type HostOptions

type HostOptions struct {
	URL *url.URL
}

HostOptions

type PathOptions

type PathOptions struct {
	Path string
}

PathOptions

type PortOptions

type PortOptions struct {
	Port int
}

PortOptions

type TeeOptions

type TeeOptions struct {
	URLString string
	URL       *url.URL
}

TeeOptions

type VerboseOptions

type VerboseOptions struct {
	Verbose bool
}

VerboseOptions

type YAMLOptions

type YAMLOptions struct {
	YAML bool
}

YAMLOptions

Jump to

Keyboard shortcuts

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