Documentation ¶
Index ¶
Constants ¶
View Source
const ( CmdUpdate = "update" CmdNew = "new" )
hz Commands
View Source
const ( IdlThrift = "thrift" IdlProto = "proto" )
hz IDLs
View Source
const ( TpCompilerThrift = "thriftgo" TpCompilerProto = "protoc" )
Third-party Compilers
View Source
const ( ProtocPluginName = "protoc-gen-hertz" ThriftPluginName = "thrift-gen-hertz" )
hz Plugins
View Source
const ( LoadError = 1 GenerateLayoutError = 2 PersistError = 3 PluginError = 4 )
hz Errors
View Source
const ( ModelDir = "biz/model" RouterDir = "biz/router" HandlerDir = "biz/handler" )
Package Dir
View Source
const ManifestFile = ".hz"
View Source
const Version = "0.0.1"
Version hz version
Variables ¶
View Source
var GoVersion *gv.Version
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend string
Backend Model Backends
const (
BackendGolang Backend = "golang"
)
Click to show internal directories.
Click to hide internal directories.