micro

package
v0.0.0-...-1e4c34d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApiTmpl = template.Must(template.New("api").Parse(apiTmplCode))
View Source
var Config = `
{
  "consul" : "127.0.0.1:8500",
  "server_name":"dllgo.{{.Appname}}",
  "server_version":"latest"
}
`

micro

View Source
var Dockerfile = `
FROM alpine
ADD {{.Appname}}-micro /{{.Appname}}-micro
ENTRYPOINT [ "/{{.Appname}}-micro" ]
`
View Source
var HandlerTmpl = template.Must(template.New("handler").Parse(handlerTmplCode))
View Source
var Maingo = `package main
import (
	"{{.Appname}}/cmd"
)
func main() {
	cmd.Run()
}
`
View Source
var Makefile = `` /* 314-byte string literal not displayed */
View Source
var MicroCMD = cli.Command{

	Name: "micro",

	Aliases: []string{"micro"},

	Usage: "dll micro  appname",

	Action: func(c *cli.Context) {
		microCMD(c)
	},
}
View Source
var Servergo = `` /* 926-byte string literal not displayed */

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL