astra

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResolver

func NewResolver(bundle *Bundle, timeout time.Duration) proxycore.EndpointResolver

Types

type Bundle

type Bundle struct {
	TLSConfig *tls.Config
	Host      string
	Port      int
}

func LoadBundleZip

func LoadBundleZip(reader *zip.Reader) (*Bundle, error)

func LoadBundleZipFromPath

func LoadBundleZipFromPath(path string) (*Bundle, error)

func LoadBundleZipFromURL

func LoadBundleZipFromURL(url, databaseID, token string, timeout time.Duration) (*Bundle, error)

Jump to

Keyboard shortcuts

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