Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SingleMod = `` /* 325-byte string literal not displayed */ ClusterMod = `` /* 331-byte string literal not displayed */ SinglePlugin = `package pkg {{if .Plugins}} import ({{range .Plugins}} _ "github.com/lack-io/plugins/{{.}}"{{end}} ){{end}} ` ClusterPlugin = `package {{.Name}} {{if .Plugins}} import ({{range .Plugins}} _ "github.com/lack-io/plugins/{{.}}"{{end}} ){{end}} ` SingleApp = `` /* 311-byte string literal not displayed */ ClusterApp = `` /* 327-byte string literal not displayed */ GatewayApp = `` /* 3890-byte string literal not displayed */ SingleWebSRV = `` /* 419-byte string literal not displayed */ ClusterWebSRV = `` /* 427-byte string literal not displayed */ DaoHandler = `package dao` )
View Source
var ( SingleCMD = `package main import ( "{{.Dir}}/pkg" ) func main() { pkg.Run() } ` ClusterCMD = `package main import ( "{{.Dir}}/pkg/{{.Name}}" ) func main() { {{.Name}}.Run() } ` )
View Source
var ( ConfSRV = `#[server] SERVER_NAME="{{.Name}}" SERVER_ADDRESS="localhost:11401" ` ConfGateway = `#[server] SERVER_NAME="{{.Name}}" SERVER_ADDRESS="localhost:80" ` )
View Source
var ( DockerSRV = `FROM alpine ADD {{.Name}} /{{.Name}} ENTRYPOINT [ "/{{.Name}}" ] ` DockerWEB = `FROM alpine ADD html /html ADD {{.Name}} /{{.Name}} WORKDIR / ENTRYPOINT [ "/{{.Name}}" ] ` )
View Source
var ( SingleMakefile = `` /* 1050-byte string literal not displayed */ ClusterMakefile = `` /* 1028-byte string literal not displayed */ GenerateFile = `package main //go:generate make proto ` )
View Source
var ( ProtoType = `` /* 143-byte string literal not displayed */ ProtoSRV = `` /* 603-byte string literal not displayed */ ProtoNew = `` /* 349-byte string literal not displayed */ )
View Source
var ( SubscriberSRV = `` /* 437-byte string literal not displayed */ HandlerAPI = `` /* 1208-byte string literal not displayed */ SingleSRV = `` /* 1906-byte string literal not displayed */ ClusterSRV = `` /* 1915-byte string literal not displayed */ )
View Source
var ( ServiceSRV = `` /* 482-byte string literal not displayed */ Wire = `` /* 189-byte string literal not displayed */ )
View Source
var (
GitIgnore = `.idea
.DS_Store
testdata
*.db
_output
.vscode
`
)
View Source
var (
HTMLWEB = `` /* 2930-byte string literal not displayed */
)
View Source
var (
Module = `` /* 321-byte string literal not displayed */
)
View Source
var (
Readme = `README`
)
View Source
var (
SystemedSRV = `` /* 389-byte string literal not displayed */
)
View Source
var (
TOML = `` /* 829-byte string literal not displayed */
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.