proxyclient

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Proxy Proxy
	Route Route
}

type Proxy

type Proxy interface {
	Activate(ctx context.Context, proxy entity.Proxy) error
	Deactivate(ctx context.Context, proxyID string) error
}

type Route

type Route interface {
	Register(ctx context.Context, routes []entity.Route) error
	Delete(ctx context.Context, route []entity.Route) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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