internal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProxyCFAccess

func ProxyCFAccess(ctx context.Context, configs []config.ProxyConfig, service ProxyService) error

Types

type LiveProxyService

type LiveProxyService struct{}

func NewLiveProxyService

func NewLiveProxyService() *LiveProxyService

func (*LiveProxyService) GetCloudflareAccessTokenForApp

func (s *LiveProxyService) GetCloudflareAccessTokenForApp(url string) (string, error)

func (*LiveProxyService) StartMultipleProxies

func (s *LiveProxyService) StartMultipleProxies(ctx context.Context, configs []proxy.CFAccessProxyConfig) error

type ProxyService

type ProxyService interface {
	GetCloudflareAccessTokenForApp(url string) (string, error)
	StartMultipleProxies(ctx context.Context, configs []proxy.CFAccessProxyConfig) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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