cmd

package
v2.16.4 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: GPL-3.0 Imports: 4 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Warning = color.New(color.FgRed)
	Notice  = color.New(color.FgGreen)
	Debug   = color.New(color.FgBlue)
)

Functions

func FlagMaxGRPCMsgSizeMB added in v2.8.0

func FlagMaxGRPCMsgSizeMB(fs *flag.FlagSet) *int

FlagMaxGRPCMsgSizeMB sets the CLI configuation flag for max gRPC send/recive msg size.

func GRPCSizeOptions added in v2.8.0

func GRPCSizeOptions(sizeMB int) ([]grpc.ServerOption, error)

GRPCSizeOptions returns a slice of gRPC server options with the max message size the server can send/receive set. Error is returned if requested size is bigger than 2GB. It is intended to be shared by gRPC in bblfshd Server and Drivers.

Types

type Command

type Command struct {
	Verbose bool   `long:"verbose" description:"show verbose debug information"`
	Root    string `long:"root" default:"." description:"root of the driver"`
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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