service

package
v0.0.0-...-8f56db8 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 19 Imported by: 0

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

Jump to

Keyboard shortcuts

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