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

server

package
v0.2.20 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2018 License: NCSA Imports: 55 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultChannelBuffer = 100000
)
View Source
var (
	DefaultRunOptions = &robustly.RunOptions{
		RateLimit:  1,
		Timeout:    time.Second,
		PrintStack: true,
		RetryDelay: 0 * time.Nanosecond,
	}
)

Functions

func NewRootCommand

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

represents the base command when called without any subcommands

func RunRootE added in v0.2.19

func RunRootE(c *cobra.Command, framework dlframework.FrameworkManifest, args []string) (<-chan bool, error)

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