synapse

package
v0.0.0-...-ec048db Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2016 License: GPL-3.0 Imports: 0 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 map[string]interface{}

type Discovery

type Discovery struct {
	Method string   `json:"method"`
	Path   string   `json:"path"`
	Hosts  []string `json:"hosts"`
}

type HAProxyInfo

type HAProxyInfo struct {
	Port          int      `json:"port"`
	ServerOptions string   `json:"server_options" yaml:"server_options"`
	Listen        []string `json:"listen"`
}

type Server

type Server struct {
	Name string `json:"name"`
	Host string `json:"host"`
	Port int    `json:"port"`
}

type Service

type Service struct {
	DefaultServers []Server    `json:"default_servers" yaml:"default_servers"`
	Discovery      Discovery   `json:"discovery"`
	HAProxy        HAProxyInfo `json:"haproxy" yaml:"haproxy"`
}

Jump to

Keyboard shortcuts

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