typical

package
v0.8.32 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Descriptor = typgo.Descriptor{
	Name:        "typical-rest-server",
	Description: "Example of typical and scalable RESTful API Server for Go",
	Version:     "0.8.32",

	EntryPoint: app.Main,
	Layouts:    []string{"internal", "pkg"},

	Prebuild: typgo.Prebuilds{
		&typgo.DependencyInjection{},
		&typgo.ConfigManager{
			Configs: []*typgo.Configuration{
				{Name: "APP", Spec: &infra.App{}},
				{Name: "REDIS", Spec: &infra.Redis{}},
				{Name: "PG", Spec: &infra.Pg{}},
			},
		},
	},

	Compile: &typgo.StdCompile{},
	Run:     &typgo.StdRun{},
	Test:    &typgo.StdTest{},
	Clean:   &typgo.StdClean{},
	Release: &typgo.Github{Owner: "typical-go", RepoName: "typical-rest-server"},

	Utility: typgo.Utilities{
		&pgUtility{},
		&redisUtility{},
		&typmock.Utility{},

		&typdocker.Utility{
			Version: typdocker.V3,
			Composers: []typdocker.Composer{
				&pgDocker{name: "pg01"},
				&redisDocker{name: "redis01"},
			},
		},
	},
}

Descriptor of Typical REST Server Build-Tool and Application will be generated based on this descriptor

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