deblocker

package
v0.0.0-...-d0d2c37 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decision

type Decision uint8
const (
	DecisionNone Decision = iota
	DecisionDirect
	DecisionVPN
	DecisionDirectCheck
	DecisionVPNCheck
)

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(cfg *config.Config) (*Server, error)

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() error

func (*Server) Shutdown

func (s *Server) Shutdown(ctx context.Context) error

type SiteLord

type SiteLord struct {
	// contains filtered or unexported fields
}

func NewSiteLord

func NewSiteLord(bgp *bgpsrv.Server, cfg config.Checker) (*SiteLord, error)

func (*SiteLord) Shutdown

func (l *SiteLord) Shutdown(ctx context.Context) error

func (*SiteLord) Start

func (l *SiteLord) Start()

type VPNSite

type VPNSite struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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