relay

package
v0.13.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2016 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service added in v0.12.10

type Service interface {
	suture.Service
	Accept() *tls.Conn
	Relays() []string
	RelayStatus(uri string) (time.Duration, bool)
}

func NewService added in v0.12.10

func NewService(cfg *config.Wrapper, tlsCfg *tls.Config) Service

type Status

type Status struct {
	URL     string
	OK      bool
	Latency int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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