Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoMessageExtend = "should extend message options to generate hessian2 code" ErrNoJavaClassName = "should extend java class name to generate hessian2 code" ErrExtendedOptionNotMatch = "extended options not match" )
Functions ¶
func GenHessian2 ¶
func GenHessian2(g *protogen.GeneratedFile, hessian2Go *Hessian2Go)
Types ¶
type Hessian2Go ¶
type Hessian2Go struct { *protogen.File Source string ProtoPackage string Enums []*Enum Messages []*Message }
func ProcessProtoFile ¶
func ProcessProtoFile(g *protogen.GeneratedFile, file *protogen.File) (*Hessian2Go, error)
Click to show internal directories.
Click to hide internal directories.