app

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middlewares added in v0.6.0

func Middlewares(server *echo.Echo)

Middlewares for the service

func Routes added in v0.6.0

func Routes(server *echo.Echo, c Controllers)

Routes of API

func Start added in v0.6.0

func Start(server *echo.Echo, cfg *config.Config) error

Start the service

Types

type Controllers added in v0.6.0

type Controllers struct {
	dig.In

	Book *controller.BookController
	App  *controller.ApplicationController
}

Controllers is collection fo controller

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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