astra

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResolver

func NewResolver(bundle *Bundle) proxycore.EndpointResolver

Types

type Bundle

type Bundle struct {
	// contains filtered or unexported fields
}

func LoadBundleZip

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

func LoadBundleZipFromPath

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

func LoadBundleZipFromURL added in v0.1.0

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

func (*Bundle) Host

func (b *Bundle) Host() string

func (*Bundle) Port

func (b *Bundle) Port() int

func (*Bundle) TLSConfig

func (b *Bundle) TLSConfig() *tls.Config

Jump to

Keyboard shortcuts

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