flags

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2018 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

func NewParser() *flags.Parser

NewParser returns new flags.Parser

func RunMain

func RunMain(parser *flags.Parser)

RunMain parses arguments and runs commands

Types

type CommonOptions

type CommonOptions struct {
	GrpcMaxMsgSize int `` /* 146-byte string literal not displayed */
}

CommonOptions contains common flags for all commands

func (*CommonOptions) GetGrpcMaxMsgSize

func (o *CommonOptions) GetGrpcMaxMsgSize() int

GetGrpcMaxMsgSize implements GrpcMaxMsgSizer interface

type GrpcMaxMsgSizer

type GrpcMaxMsgSizer interface {
	GetGrpcMaxMsgSize() int
}

GrpcMaxMsgSizer is used to get gRPC maximum message size

Jump to

Keyboard shortcuts

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