Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Method ¶
type Method struct {
// Name is a method name.
Name string
// StreamsRequest defines if the method accepts stream input.
StreamsRequest bool
// RequestType defines the message name (from the same package) of method input.
RequestType string
// StreamsReturns defines if method streams result.
StreamsReturns bool
// ReturnsType defines the message name (from the same package) of the method return value.
ReturnsType string
}
Method describes a singular RPC method.
type Service ¶
type Service struct {
// Package defines service namespace.
Package string
// Name defines service name.
Name string
// Methods list.
Methods []Method
}
Service contains information about singular GRPC service.
func FileNoImports ¶ added in v5.2.9
Click to show internal directories.
Click to hide internal directories.