Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Context = typictx.Context{ Name: "Typical-RESTful-Server", Version: "0.5.2", Description: "Example of typical and scalable RESTful API Server for Go", Modules: []*typictx.Module{ {ConfigPrefix: "APP", ConfigSpec: &config.Config{}}, server.Module(), postgres.Module(), }, Application: typictx.Application{ StartFunc: func(s *app.Server, cfg *config.Config) error { log.Info("Start the application") return s.Start(cfg.Address) }, }, Release: typictx.Release{ GoOS: []string{"linux", "darwin"}, GoArch: []string{"amd64"}, Github: &typictx.Github{ Owner: "typical-go", RepoName: "typical-rest-server", }, }, }
Context instance of Context
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.