Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GolangStub ¶
Types ¶
type GenFunc ¶ added in v0.9.10
GenFunc is the function which generates the final code. For example to generate golang code use GolangStub
type Generator ¶ added in v0.9.10
type Generator struct {
// contains filtered or unexported fields
}
func (*Generator) Generate ¶ added in v0.9.10
func (g *Generator) Generate(descs ...desc.ServiceDesc) error
func (*Generator) MustGenerate ¶ added in v0.9.10
func (g *Generator) MustGenerate(desc ...desc.ServiceDesc)
type Option ¶ added in v0.10.19
type Option func(*genConfig)
func WithFolderName ¶ added in v0.10.19
func WithGenFunc ¶ added in v0.10.19
func WithOutputDir ¶ added in v0.10.19
func WithPkgName ¶ added in v0.10.19
func WithStubName ¶ added in v0.10.20
Click to show internal directories.
Click to hide internal directories.