pkg

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigInterface

type ConfigInterface interface {
	GetAddr() string
	GetPort() string
	GetLogLevel() string
	GetLanguage() string
	GetDashboardUpdateTimeout() time.Duration
}

type Server

type Server struct {
	PanelSettings ConfigInterface
	*http.Server
	// contains filtered or unexported fields
}

func NewServer

func NewServer(router *echo.Echo, config ConfigInterface) *Server

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() error

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

implement

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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