Documentation ¶
Index ¶
Constants ¶
View Source
const ( Kitex = "kitex" Hertz = "hertz" )
View Source
const ( CwgoDocPluginMode = "CWGO_DOC_PLUGIN_DOC" ThriftCwgoDocPluginName = "thrift-gen-cwgo-doc" )
View Source
const ( RPC = "RPC" HTTP = "HTTP" )
View Source
const ( Server = "server" Client = "client" DB = "db" )
View Source
const ( Thrift = "thrift" Protobuf = "protobuf" Proto = "proto" )
View Source
const ( Slash = "/" BackSlash = "\\" BlackSpace = " " Comma = ";" Tilde = "~" LineBreak = "\n" )
View Source
const ( Src = "src" DefaultHZModelDir = "hertz_gen" DefaultHZClientDir = "biz/http" DefaultKitexModelDir = "kitex_gen" DefaultDbOutDir = "biz/dal/query" DefaultDocModelOutDir = "biz/doc/model" DefaultDocDaoOutDir = "biz/doc/dao" Standard = "standard" StandardV2 = "standard_v2" CurrentDir = "." )
Package Name
View Source
const ( KitexExtensionYaml = "extensions.yaml" LayoutFile = "layout.yaml" PackageLayoutFile = "package.yaml" SuffixGit = ".git" DefaultDbOutFile = "gen.go" Main = "main.go" GoMod = "go.mod" HzFile = ".hz" )
File Name
View Source
const ( Zk = "ZK" Nacos = "NACOS" Etcd = "ETCD" Polaris = "POLARIS" )
Registration Center
View Source
const ( Go = "go" GOPATH = "GOPATH" Env = "env" Mod = "mod" Init = "init" OutDir = "out_dir" Verbose = "verbose" Template = "template" Branch = "branch" Name = "name" ModelDir = "model_dir" DaoDir = "dao_dir" Service = "service" ServerName = "server_name" ServiceType = "type" Module = "module" IDLPath = "idl" Registry = "registry" Pass = "pass" ProtoSearchPath = "proto_search_path" ThriftGo = "thriftgo" Protoc = "protoc" GenBase = "gen_base" ProjectPath = "project_path" HertzRepoUrl = "hertz_repo_url" DSN = "dsn" DBType = "db_type" Tables = "tables" ExcludeTables = "exclude_tables" OnlyModel = "only_model" OutFile = "out_file" UnitTest = "unittest" ModelPkgName = "model_pkg" Nullable = "nullable" Signable = "signable" IndexTag = "index_tag" TypeTag = "type_tag" HexTag = "hex" SQLDir = "sql_dir" )
View Source
const ( BashAutocomplete = `` /* 964-byte string literal not displayed */ PowershellAutoComplete = `` /* 426-byte string literal not displayed */ ZshAutocomplete = `` /* 416-byte string literal not displayed */ )
View Source
const (
HertzRepoDefaultUrl = "github.com/cloudwego/hertz"
)
View Source
const (
JobName = "job_name"
)
View Source
const (
MongoDb = "mongodb"
)
View Source
const SysType = runtime.GOOS
SysType is the running program's operating system type
View Source
const WindowsOS = "windows"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataBaseType ¶
type DataBaseType string
const ( MySQL DataBaseType = "mysql" SQLServer DataBaseType = "sqlserver" Sqlite DataBaseType = "sqlite" Postgres DataBaseType = "postgres" )
DataBase Name
Click to show internal directories.
Click to hide internal directories.