daemon

package
v0.0.0-...-0b1d7d2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2017 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const IPFS_LENGTH = 46
View Source
const KEY_LENGTH = 44
View Source
const MAX_ROLL = 16777216
View Source
const MIN_ROLL = 0

Variables

This section is empty.

Functions

func RunDaemon

func RunDaemon(configpath string)

Types

type Config

type Config struct {
	Server          string
	Channel         string
	Nick            string
	DeployDirectory string
	RPCPort         string
}

func ReadConfig

func ReadConfig(configfile string) Config

type Listener

type Listener int

func (*Listener) Create

func (l *Listener) Create(info *rpcmsg.Info, reply *rpcmsg.Message) error

func (*Listener) Deploy

func (l *Listener) Deploy(info *rpcmsg.Info, reply *rpcmsg.Message) error

func (*Listener) Join

func (l *Listener) Join(info *rpcmsg.Info, reply *rpcmsg.Message) error

func (*Listener) Leave

func (l *Listener) Leave(info *rpcmsg.Info, reply *rpcmsg.Message) error

func (*Listener) List

func (l *Listener) List(line string, reply *rpcmsg.Message) error

func (*Listener) Stop

func (l *Listener) Stop(info *rpcmsg.Info, reply *rpcmsg.Message) error

func (*Listener) Test

func (l *Listener) Test(info *rpcmsg.Info, reply *rpcmsg.Message) error

Jump to

Keyboard shortcuts

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