Documentation ¶
Overview ¶
Package pbgo outputs pbgo service descriptions in Go code. It runs as a plugin for the Go protocol buffer compiler plugin. It is linked in to protoc-gen-go.
Index ¶
Constants ¶
View Source
const PluginName = "pbgo"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceMethodSpec ¶
type ServiceMethodSpec struct { MethodName string MethodRawName string InputTypeName string OutputTypeName string RestAPIs []ServiceRestMethodSpec }
type ServiceRestMethodSpec ¶
type ServiceSpec ¶
type ServiceSpec struct { ServiceName string ServiceRawName string MethodList []ServiceMethodSpec }
Click to show internal directories.
Click to hide internal directories.