typical

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Context = &typictx.Context{
	Name:        "Typical-RESTful-Server",
	Version:     "0.6.3",
	Description: "Example of typical and scalable RESTful API Server for Go",

	Application: typictx.Application{
		StartFunc: app.Start,

		Config: typictx.Config{
			Prefix: "APP",
			Spec:   &config.Config{},
		},

		Initiations: []interface{}{
			app.Middlewares,
			app.Routes,
		},
	},

	Modules: []*typictx.Module{
		typserver.Module(),
		typpostgres.Module(),
	},

	Release: typictx.Release{
		GoOS:   []string{"linux", "darwin"},
		GoArch: []string{"amd64"},
		Github: &typictx.Github{
			Owner:    "typical-go",
			RepoName: "typical-rest-server",
		},
	},

	DockerCompose: docker.NewCompose("3"),
}

Context instance of Context

Functions

This section is empty.

Types

type Config added in v0.3.0

type Config struct {
	App    *config.Config
	Server *typserver.Config
	Pg     *typpostgres.Config
}

Jump to

Keyboard shortcuts

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