typical

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Context = &typictx.Context{
	Name:        "Typical-RESTful-Server",
	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{
		Version: "0.7.0",
		Targets: []string{
			"linux/amd64",
			"darwin/amd64",
		},
		Github: &typictx.Github{
			Owner:    "typical-go",
			RepoName: "typical-rest-server",
		},
	},
}

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