Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfServerTpl = `` /* 553-byte string literal not displayed */ ConfCacheTpl = `[redis] host = "127.0.0.1:6379" auth = "" index = 14 max_idle = 10 ` ConfMysqlTpl = `` /* 293-byte string literal not displayed */ ConfMongoTpl = `` /* 153-byte string literal not displayed */ )
View Source
const ( GatewayMakefileTpl = `all: @go build -o {{.Name}} cmd/*.go @echo done. clean: @go clean cmd/*.go @rm -f ./{{.Name}} ` ServiceMakefileTpl = `all: @go build -o {{.Name}} cmd/*.go @echo done. clean: @go clean cmd/*.go @rm -f ./{{.Name}} ` )
View Source
const ( GatewayMainTpl = `` /* 1021-byte string literal not displayed */ ServiceMainTpl = `` /* 1357-byte string literal not displayed */ ServiceMainImportFrameMongoTpl = `"{{.Root}}/fireman/store/mongo"` ServiceMainImportFrameMysqlTpl = `"{{.Root}}/fireman/store/mysql"` ServiceMainImportSelfStoreTpl = `"{{.Root}}/{{.Name}}/internal/dao/database"` ServiceMainConfigMongoTpl = `Mongo mongo.Config` ServiceMainConfigMysqlTpl = `Mysql []mysql.Config` ServiceMainRepoMongoTpl = `, database.NewRepository(mongo.NewPool(Conf.Mongo))` ServiceMainRepoMysqlTpl = `, database.NewRepository(mysql.NewPool(Conf.Mysql))` )
View Source
const ( GatewayMakefileTpl = `all: @go build -o {{.Name}} cmd/*.go @echo done. clean: @go clean cmd/*.go @rm -f ./{{.Name}} ` ServiceMakefileTpl = `all: @go build -o {{.Name}} cmd/*.go @echo done. clean: @go clean cmd/*.go @rm -f ./{{.Name}} ` )
View Source
const ( ServiceInternalHandlerTpl = `` /* 300-byte string literal not displayed */ ServiceInternalGreeterTpl = `` /* 322-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.