Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownCommand = errors.New("unknown command") ErrArgumentRequired = errors.New("argument required") ErrUnknownTarget = errors.New("unknown target") )
View Source
var (
ErrProtoFileRequired = errors.New("least one proto file required")
)
Functions ¶
This section is empty.
Types ¶
type ColoredREPLUI ¶
type ColoredREPLUI struct {
*REPLUI
}
func (*ColoredREPLUI) ErrPrintln ¶
func (u *ColoredREPLUI) ErrPrintln(s string)
func (*ColoredREPLUI) InfoPrintln ¶
func (u *ColoredREPLUI) InfoPrintln(s string)
type ColoredUI ¶
type ColoredUI struct {
// contains filtered or unexported fields
}
func (*ColoredUI) ErrPrintln ¶
func (*ColoredUI) InfoPrintln ¶
type Options ¶
type Options struct { Proto []string `arg:"positional,help:.proto files"` Interactive bool `arg:"-i,help:use interactive mode"` EditConfig bool `arg:"-e,help:edit config file by $EDITOR"` Host string `arg:"-h,help:gRPC host"` Port string `arg:"-p,help:gRPC port"` Package string `arg:"help:default package"` Service string `arg:"help:default service. evans parse package from this if --package is nothing."` Call string `arg:"-c,help:call specified RPC"` File string `arg:"-f,help:the script file which will be executed (used only command-line mode)"` Path []string `arg:"separate,help:proto file path"` Header []string `arg:"separate,help:headers set to each requests"` // contains filtered or unexported fields }
type REPLUI ¶
type REPLUI struct {
// contains filtered or unexported fields
}
func (*REPLUI) ErrPrintln ¶
func (*REPLUI) InfoPrintln ¶
type UI ¶
type UI struct {
// contains filtered or unexported fields
}
func (*UI) ErrPrintln ¶
func (*UI) InfoPrintln ¶
Click to show internal directories.
Click to hide internal directories.