usecase

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

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

func NewProxy

func NewProxy(repo repository.Repository, client proxyclient.Client) *Proxy

func (*Proxy) Activate

func (p *Proxy) Activate(ctx context.Context, proxyID string) error

func (*Proxy) Delete

func (p *Proxy) Delete(ctx context.Context, proxyID string) error

func (*Proxy) Register

func (p *Proxy) Register(ctx context.Context, proxy entity.Proxy) error

type Route

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

func NewRoute

func NewRoute(repo repository.Repository, client proxyclient.Client) *Route

func (*Route) Delete

func (r *Route) Delete(ctx context.Context, routes []entity.Route) error

func (*Route) Register

func (r *Route) Register(ctx context.Context, routes []entity.Route) error

Jump to

Keyboard shortcuts

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