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

server

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2021 License: NCSA Imports: 53 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultChannelBuffer = 100000
)

Functions

func GetOutboundIP added in v0.3.0

func GetOutboundIP() net.IP

Get preferred outbound ip of this machine

func NewRootCommand

func NewRootCommand(frameworkRegisterFunc FrameworkRegisterFunction, framework0 dlframework.FrameworkManifest) (*cobra.Command, error)

represents the base command when called without any subcommands

func SetupFlags added in v0.2.19

func SetupFlags(c *cobra.Command)

Types

type FrameworkRegisterFunction added in v0.2.19

type FrameworkRegisterFunction func()

Jump to

Keyboard shortcuts

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