template

package
v0.18.22 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Doc = `` /* 681-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 = `` /* 480-byte string literal not displayed */

	ClusterApp = `` /* 496-byte string literal not displayed */

	GatewayApp = `` /* 3763-byte string literal not displayed */

	SingleWebSRV = `` /* 559-byte string literal not displayed */

	ClusterWebSRV = `` /* 565-byte string literal not displayed */

	DaoHandler = `package dao

import "github.com/lack-io/vine/util/runtime"

var sets = runtime.NewSchemaSet()
`
)
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 = `` /* 236-byte string literal not displayed */

	ProtoSRV = `` /* 683-byte string literal not displayed */

	ProtoNew = `` /* 467-byte string literal not displayed */

)
View Source
var (
	SubscriberSRV = `` /* 437-byte string literal not displayed */

	HandlerAPI = `` /* 1208-byte string literal not displayed */

	SingleSRV = `` /* 1907-byte string literal not displayed */

	ClusterSRV = `` /* 1916-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 = `` /* 340-byte string literal not displayed */

)
View Source
var (
	Readme = `README`
)
View Source
var (
	SystemedSRV = `` /* 389-byte string literal not displayed */

)
View Source
var (
	TOML = `` /* 893-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