Back to godoc.org

Package service

v0.0.0-...-4e06604
Latest Go to latest

The highest tagged major version is .

Published: Jun 19, 2020 | License: MIT | Module: github.com/monitoror/monitoror

Index

func InitApis

func InitApis(s *Server)

func InitUI

func InitUI(s *Server)

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier