Documentation ¶
Overview ¶
Package internal_gengo is internal to the protobuf module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GenerateVersionMarkers = true
GenerateVersionMarkers specifies whether to generate version markers.
View Source
var SupportedFeatures = uint64(pluginpb.CodeGeneratorResponse_FEATURE_PROTO3_OPTIONAL)
SupportedFeatures reports the set of supported protobuf language features.
Functions ¶
func GenerateFile ¶
GenerateFile generates the contents of a .pb.go file.
Types ¶
type MethodDesc ¶
type ServiceDesc ¶
type ServiceDesc struct { ServiceType string // Greeter ServiceName string // helloworld.Greeter Metadata string // api/helloworld/helloworld.proto Methods []*MethodDesc MethodSets map[string]*MethodDesc }
func (*ServiceDesc) Execute ¶
func (s *ServiceDesc) Execute() string
type ServiceInfo ¶ added in v1.1.9
ServiceInfo 服务的基本信息,包括组路由,中间件
Click to show internal directories.
Click to hide internal directories.