Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ContractTemplate string = `` /* 692-byte string literal not displayed */
View Source
var ServerTemplate string = `` /* 2731-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { Package string PBPackage string Name string Methods Methods StructName string Sources Sources }
func NewContract ¶
func (*Contract) IsServerInterface ¶
type Method ¶
type Method struct { StructName string Name string InputType string OutputType string PBPackage string ContractMethod *parser.GoStructMethod Request *parser.GoStruct Response *parser.GoStruct }
Click to show internal directories.
Click to hide internal directories.