Documentation
¶
Index ¶
Constants ¶
View Source
const (
AnyImport = "google/protobuf/any.proto"
)
Variables ¶
This section is empty.
Functions ¶
func MustNewAstParser ¶ added in v1.0.21
Types ¶
type Enum ¶ added in v1.0.21
func (*Enum) GenEnumCode ¶ added in v1.0.21
func (*Enum) GenEnumTypeCode ¶ added in v1.0.21
type Import ¶ added in v1.0.21
type Message ¶ added in v1.0.21
type Message struct {
Name stringx.String
Element []*MessageField
*proto.Message
}
type MessageField ¶ added in v1.0.21
type PbAst ¶
type PbAst struct {
ContainsAny bool
Imports map[string]string
Structure map[string]*Struct
Service []*RpcService
*Proto
}
parsing for rpc
func (*PbAst) GenEnumCode ¶ added in v1.0.21
func (*PbAst) GenTypesCode ¶
type RpcService ¶
Click to show internal directories.
Click to hide internal directories.