Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateLayout ¶
func PluginMode ¶
func PluginMode()
PluginMode checks if the current process was invoked as a protoc/thriftgo plugin (detected via EnvPluginMode env var). If so, it runs the plugin and exits. This is called before CLI parsing in main() to handle the plugin re-entry path.
func TriggerPlugin ¶
TriggerPlugin invokes the IDL compiler (protoc/thriftgo) with hz registered as a plugin. The compiler parses the IDL and calls back into hz (via PluginMode) to generate code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.