backend

package
v0.0.0-...-81fa0a8 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2014 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package backend provides a mechianism for registering a backend such that incoming requests to the frontend can be distributed to it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	Name string
	Host string // will be inferred if empty
	Port int
}

A Backend contains the information that the frontend needs to be given in order to connect back to this backend.

func (*Backend) DialFrontend

func (b *Backend) DialFrontend(netw, addr string) error

DialFrontend connects to the frontend on the given net/addr.

Jump to

Keyboard shortcuts

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