api

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: MIT Imports: 7 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"`
	WebAddr           string   `json:"web-addr"`
	StreamLargeBodies int64    `json:"stream-large-bodies,omitempty"`
	SslInsecure       bool     `json:"ssl-insecure,omitempty"`
	CaRootPath        string   `json:"ca-root-path,omitempty"`
	Upstream          string   `json:"upstream,omitempty"`
	AllowHosts        []string `json:"allow-hosts"`
}

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