Documentation ¶ Index ¶ func Routes(cfg *config.Config, useCase *usecase.UseCase) map[string][]map[string]interface{} type Contract func NewHttpServer(cfg *config.Config, client *http.Server, useCase *usecase.UseCase) Contract Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Routes ¶ added in v3.0.1 func Routes(cfg *config.Config, useCase *usecase.UseCase) map[string][]map[string]interface{} Routes registers REST routes Types ¶ type Contract ¶ type Contract interface { Serve() } func NewHttpServer ¶ added in v3.0.1 func NewHttpServer(cfg *config.Config, client *http.Server, useCase *usecase.UseCase) Contract NewHttpServer creates new http server Source Files ¶ View all Source files contract.go gingonic.go http_server.go routes.go Directories ¶ Show internal Expand all Path Synopsis handler exampleGet presenter Click to show internal directories. Click to hide internal directories.