app

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	*echo.Echo
	config.AppConfig
	// contains filtered or unexported fields
}

Server server application

func NewServer

func NewServer(
	config config.AppConfig,
	bookController controller.BookController,
	applicationController controller.ApplicationController,
) *Server

NewServer return instance of server

func (*Server) CRUDController

func (s *Server) CRUDController(entity string, crud controller.CRUDController)

CRUDController CRUD Controller

func (*Server) Serve

func (s *Server) Serve() error

Serve to start to serve

func (*Server) Shutdown

func (s *Server) Shutdown() error

Shutdown the server

Directories

Path Synopsis
helper
timekit
Package timekit provide error safe function for time function
Package timekit provide error safe function for time function

Jump to

Keyboard shortcuts

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