app

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 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(p RouteParams)

Routes of API

func Start added in v0.6.0

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

Start the service

Types

type RouteParams added in v0.6.4

type RouteParams struct {
	dig.In
	Server    *echo.Echo
	BookCntrl controller.BookController
	AppCntrl  controller.ApplicationController
}

RouteParams for route parameters

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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