network

package
v0.0.63-rc22 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2019 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFlagsForService

func RegisterFlagsForService(cmd *cobra.Command, name string, defaultPort int)

Types

type Configuration

type Configuration struct {
	AdvertisedAddress string
	AdvertisedPort    int
	BindAddress       string
	BindPort          int
}

func ConfigurationFromFlags

func ConfigurationFromFlags(cmd *cobra.Command, name string) Configuration

func (Configuration) Describe

func (c Configuration) Describe(name string) string

Jump to

Keyboard shortcuts

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