Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPOptions ¶
type HTTPOptions struct {
Node
Method string
Path string
Body string
ResponseBody string
Additional []*HTTPOptions
}
HTTPOptions 表示HTTP选项
type ProtobufField ¶
ProtobufField 表示protobuf字段
type ProtobufFile ¶
type ProtobufFile struct {
Node
Filename string
Syntax string
Package string
GoPackage string
Imports []string
Services []*ProtobufService
Messages []*ProtobufMessage
}
ProtobufFile 表示一个protobuf文件
type ProtobufMessage ¶
type ProtobufMessage struct {
Node
Name string
Fields []*ProtobufField
}
ProtobufMessage 表示protobuf消息
type ProtobufRPC ¶
type ProtobufRPC struct {
Node
Name string
Request string
Response string
LineNum int
HTTPOptions *HTTPOptions
}
ProtobufRPC 表示protobuf RPC方法
type ProtobufService ¶
type ProtobufService struct {
Node
Name string
RPCs []*ProtobufRPC
}
ProtobufService 表示protobuf服务
Click to show internal directories.
Click to hide internal directories.