link

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.0.2

func New(name string, params core.Params) (core.Link, error)

Types

type Fanout

type Fanout struct {
	Name string

	*sync.Mutex
	*core.Connector
	// contains filtered or unexported fields
}
func (ft *Fanout) AddLink(link core.Link) error

func (*Fanout) ConnectTo

func (ft *Fanout) ConnectTo(core.Link) error
func (ft *Fanout) FindLink(link core.Link) (*RingLink, bool)

func (*Fanout) LinkTo

func (ft *Fanout) LinkTo(links []core.Link) error
func (ft Fanout) RemoveLink(link core.Link) error

func (*Fanout) RingSize

func (ft *Fanout) RingSize() int
type RingLink struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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