server

package
v0.0.0-...-fbaf9a3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 14 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Livez

func Livez(c echo.Context) error

func Readyz

func Readyz(c echo.Context) error

Types

type Server

type Server struct {
	*echo.Echo
	*config.Config

	ReadyzHandler echo.HandlerFunc
	LivezHandler  echo.HandlerFunc
	TLS           *TLS
}

func New

func New() *Server

func (*Server) Start

func (s *Server) Start()

Start starts the echo HTTP server.

type TLS

type TLS struct {
	CertFile string
	KeyFile  string
}

Jump to

Keyboard shortcuts

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