customflags

package
v0.0.0-...-f4f47ad Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Namespaces

type Namespaces map[uint]string

func (Namespaces) Set

func (f Namespaces) Set(s string) error

Sets a namespace/port combination from either just a number, e.g. "5000", a namespace:port set, e.g. "alpha:5000", and finally, a set of these, e.g. "alpha:5000,beta:5001,5002"

func (*Namespaces) String

func (f *Namespaces) String() string

Pretty-prints namespace/port sets.

type Size

type Size int64

Quick-and-dirty human-readable sizes

func NewSize

func NewSize(s int64) *Size

func (Size) Int64

func (v Size) Int64() int64

func (*Size) Set

func (v *Size) Set(s string) error

func (Size) String

func (v Size) String() string

Jump to

Keyboard shortcuts

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