v1

package
v0.0.0-...-5e0bfd6 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODULE_NAME = "node/croncache/v1"
)

Variables

This section is empty.

Functions

func Generator

func Generator() lib.Node

func NewNode

func NewNode() lib.Node

Types

type Config

type Config struct {
	LogFilePath string
	TaskManager *json.RawMessage
}

func NewConfig

func NewConfig() *Config

type Node

type Node struct {
	lib.Node
	// contains filtered or unexported fields
}

func (*Node) ExportConfig

func (n *Node) ExportConfig() ([]byte, error)

func (*Node) HaltSignal

func (n *Node) HaltSignal() chan bool

func (*Node) ImportConfig

func (n *Node) ImportConfig(raw []byte) error

func (*Node) Initialize

func (n *Node) Initialize() error

func (*Node) IoC

func (n *Node) IoC() lib.IoC

func (*Node) IsHalted

func (n *Node) IsHalted() bool

func (*Node) Log

func (n *Node) Log() *log.Logger

func (*Node) ModuleName

func (n *Node) ModuleName() string

func (*Node) SetIoC

func (n *Node) SetIoC(ioc lib.IoC)

func (*Node) SetIsHalted

func (n *Node) SetIsHalted(isHalted bool)

func (*Node) Start

func (n *Node) Start() error

func (*Node) Stop

func (n *Node) Stop() error

func (*Node) WaitGroup

func (n *Node) WaitGroup() *sync.WaitGroup

Jump to

Keyboard shortcuts

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