api

package
v0.0.0-...-635b2fd Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	LB loadbalancer.LoadBalancer
}

func (*Handler) AddServerHandler

func (h *Handler) AddServerHandler(c *gin.Context)

func (*Handler) HealthCheckHandler

func (h *Handler) HealthCheckHandler(c *gin.Context)

func (*Handler) ListServersHandler

func (h *Handler) ListServersHandler(c *gin.Context)

func (*Handler) ProxyHandler

func (h *Handler) ProxyHandler(c *gin.Context)

func (*Handler) RemoveServerHandler

func (h *Handler) RemoveServerHandler(c *gin.Context)

type ServerInput

type ServerInput struct {
	URLString   string `json:"URL"`
	ActiveConns int32  `json:"ActiveConns"`
	Healthy     bool   `json:"Healthy"`
}

Jump to

Keyboard shortcuts

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