Documentation ¶
Index ¶
- Constants
- func AppendToTemplate(text string)
- func EnableJavaExtension(a generator.Config) bool
- func Hessian2PatchByReplace(args generator.Config, subDirPath string) error
- func Hessian2PreHook(cfg *generator.Config)
- func IsHessian2(a generator.Config) bool
- func Run() int
- func ZeroBLength(t *parser.Type, oprot, offset string) string
- func ZeroWriter(t *parser.Type, oprot, buf, offset string) string
Constants ¶
View Source
const ( JavaExtensionOption = "java_extension" DubboCodec = "github.com/kitex-contrib/codec-dubbo" JavaThrift = "java.thrift" JavaThriftAddress = "https://raw.githubusercontent.com/kitex-contrib/codec-dubbo/main/java/java.thrift" )
View Source
const PluginName = "thrift-gen-kitex"
PluginName is the link name when the kitex binary is used as a plugin for thriftgo.
View Source
const TheUseOptionMessage = "kitex_gen is not generated due to the -use option"
TheUseOptionMessage indicates that the generating of kitex_gen is aborted due to the -use option.
Variables ¶
This section is empty.
Functions ¶
func EnableJavaExtension ¶ added in v0.8.0
func Hessian2PatchByReplace ¶ added in v0.9.0
Hessian2PatchByReplace args is the arguments from command, subDirPath used for xx/xx/xx
func Hessian2PreHook ¶ added in v0.8.0
Hessian2PreHook Hook before building cmd
func IsHessian2 ¶ added in v0.8.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.