Documentation ¶
Index ¶
- Constants
- type Field
- type GrpcGen
- func (this *GrpcGen) Generate(output string, parsedThrift map[string]*parser.Thrift)
- func (g *GrpcGen) GetPackages() (result map[string]string)
- func (g *GrpcGen) GetReqStructs() (structs []*Struct)
- func (g *GrpcGen) GetRespStructs() (structs []*Struct)
- func (g *GrpcGen) GetStructs() (structs []*Struct)
- func (g *GrpcGen) Includes() (includes []string)
- func (g *GrpcGen) ServiceName() string
- func (g *GrpcGen) SetThrift(t *parser.Thrift)
- type Struct
Constants ¶
View Source
const TPL_SERVICE = "tgen/grpc/grpc"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcGen ¶
type GrpcGen struct { langs.BaseGen Thrift *parser.Thrift // contains filtered or unexported fields }
func (*GrpcGen) GetPackages ¶
func (*GrpcGen) GetReqStructs ¶
func (*GrpcGen) GetRespStructs ¶
func (*GrpcGen) GetStructs ¶
func (*GrpcGen) ServiceName ¶
Click to show internal directories.
Click to hide internal directories.