router

package
v0.1.9-patch-2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2020 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleT

type HandleT struct {
	// contains filtered or unexported fields
}

HandleT is the handle to this module.

func (*HandleT) Disable

func (rt *HandleT) Disable()

Disable disables a router:)

func (*HandleT) Enable

func (rt *HandleT) Enable()

Enable enables a router :)

func (*HandleT) ResetSleep

func (rt *HandleT) ResetSleep()

ResetSleep this makes the workers reset their sleep

func (*HandleT) Setup

func (rt *HandleT) Setup(jobsDB *jobsdb.HandleT, destID string)

Setup initializes this module

type NetHandleT

type NetHandleT struct {
	// contains filtered or unexported fields
}

NetHandleT is the wrapper holding private variables

func (*NetHandleT) Setup

func (network *NetHandleT) Setup(destID string)

Setup initializes the module

type ParametersT

type ParametersT struct {
	SourceID      string `json:"source_id"`
	DestinationID string `json:"destination_id"`
}

ParametersT struct holds source id and destination id of a job

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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