Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitApis

func InitApis(s *Server)

func InitUI

func InitUI(s *Server)

Types

type Server

type Server struct {
	// Echo Server
	*echo.Echo

	// CacheMiddleware using CacheStore to return cached data
	CacheMiddleware *middlewares.CacheMiddleware

	// contains filtered or unexported fields

}

func Init

func Init(store *store.Store) *Server

Init create echo server with middlewares, ui, routes

func (*Server) Start

func (s *Server) Start() error

Directories

Path Synopsis
handlers
middlewares
mocks
options
router