Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCoverage ¶ added in v1.20.0
NewCoverage counts the steps of r that called each method the .proto file at path declares, as proto.files names the file. The file is parsed on its own, without its imports, as its services and methods are all that is counted. A .proto file declares no statuses its methods end with, so that its coverage is told by methods alone.
func Params ¶ added in v1.20.0
func Params() []string
Params returns the keys the grpc action takes in with: those of Req, and proto, which it reads apart from Req.
Types ¶
type Req ¶ added in v1.18.0
type Req struct {
Addr string `map:"addr" validate:"required"`
Service string `map:"service" validate:"required"`
Method string `map:"method" validate:"required"`
Body string `map:"body"`
Timeout string `map:"timeout"`
TLS bool `map:"tls"`
Insecure bool `map:"insecure"`
CertFile string `map:"cert_file"`
KeyFile string `map:"key_file"`
CAFile string `map:"ca_file"`
Metadata map[string]string `map:"metadata"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.