connector

package
v0.0.0-...-cdd27d5 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	Family, Address, RootName, OtherRootName string
}

type Connector

type Connector struct {
	Left, Right Connection
}

Connector glues together two tfhfs servers ('left' and 'right').

The are both connected to, and then LeftName on left server is synchronized with RightName on right server and vice versa. This is repeated every SyncInterval if there is need.

func (*Connector) Run

func (self *Connector) Run() (int, error)

func (*Connector) Sync

func (self *Connector) Sync(from *Connection, to *Connection) (ops int, err error)

Jump to

Keyboard shortcuts

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