api

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Addr              string   `json:"addr,omitempty"`
	StreamLargeBodies int64    `json:"stream-large-bodies,omitempty"`
	CaRootPath        string   `json:"ca-root-path,omitempty"`
	Upstream          string   `json:"upstream,omitempty"`
	AllowHosts        []string `json:"allow-hosts"`
	// contains filtered or unexported fields
}

func New

func New(scanOpt map[string]interface{}) (*Options, error)

func (*Options) Start

func (opt *Options) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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