http

package
v0.0.0-...-6801328 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceName = "http"

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	ListenAddr string `yaml:"on"`

	Proxy chrome.Proxy `yaml:"over"`

	Routes       []RouteOptions
	Redirects    map[string]string
	RewriteHosts map[string]string

	Dial  chrome.DialOptions
	Relay chrome.RelayOptions
	// contains filtered or unexported fields
}

type RouteOptions

type RouteOptions struct {
	Name     string
	What     string
	Checksum string       `yaml:"-"`
	Proxy    chrome.Proxy `yaml:"over"`
}

type Service

type Service struct{}

func (Service) Name

func (Service) Name() string

func (Service) Options

func (Service) Options() any

func (Service) Run

func (Service) Run(ctx chrome.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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