agent

package
v0.0.0-...-9457295 Latest Latest
Warning

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

Go to latest
Published: May 21, 2014 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

This package provides some convenient auto-configuration functionality for Meeko agents. All available Meeko service clients are configured from the environment variables and then they are accessible using the service getter functions.

Make sure to listen on Stopped() channel to terminate the agent.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logging

func Logging() *logging.Service

Logging returns an instance of the Meeko Logging service.

func PubSub

func PubSub() *pubsub.Service

PubSub returns and instance of the Meeko PubSub service.

func RPC

func RPC() *rpc.Service

RPC returns an instance of the Meeko RPC service.

func Stopped

func Stopped() <-chan struct{}

Stopped returns a channel that is closed when the agent receives the stop signal. The agent process should react by exiting as soon as possible, unless it wants to be killed mercilessly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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