server

package
v0.0.0-...-547473f Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	DB db.DB
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config, db db.DB, configurator *configurator.Configurator) *Server

func (*Server) CreateLoadBalancer

func (s *Server) CreateLoadBalancer(ctx echo.Context, name generate.Name) error

func (*Server) DeleteLoadBalancer

func (s *Server) DeleteLoadBalancer(ctx echo.Context, name generate.Name) error

func (*Server) GetHealth

func (*Server) GetHealth(ctx echo.Context) error

func (*Server) GetLoadbalancer

func (s *Server) GetLoadbalancer(ctx echo.Context, name generate.Name) error

func (*Server) GetLoadbalancers

func (s *Server) GetLoadbalancers(ctx echo.Context) error

Jump to

Keyboard shortcuts

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