torutil

package
v0.0.0-...-0924a6b Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2016 License: MIT Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ControlCommand

func ControlCommand(command string, port int)

func Cycle

func Cycle(controlPort int)

func Shutdown

func Shutdown(controlPort int)

func Spawn

func Spawn(dataDir string, tc Connection)

Types

type Connection

type Connection struct {
	ControlPort int `db:"control_port" json:"control_port"`
	Port        int `db:"port"         json:"port"`
}

func Create

func Create(dataDir string) Connection

Jump to

Keyboard shortcuts

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