router

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domains

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

func WithState

func WithState(next Router) *Domains

func (*Domains) HasDomain

func (d *Domains) HasDomain(domain string) bool

func (*Domains) Update

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

type Router

type Router interface {
	// Update routing table for group.
	Update(ctx context.Context, group string, services []packs.Service) error
}

Router to internal exposed services.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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