embedded

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	PathRouting bool // not yet supported - path based routing instead of domains
	Port        int  // binding port, used only for index page
	Index       bool // show index in case of not found domain
}

type Embedded

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

func New

func New(cfg Config) *Embedded

func (*Embedded) ServeHTTP

func (ed *Embedded) ServeHTTP(writer http.ResponseWriter, request *http.Request)

func (*Embedded) Update

func (ed *Embedded) Update(ctx context.Context, group string, services []packs.Service) error

Jump to

Keyboard shortcuts

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