publish

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2018 License: ISC Imports: 10 Imported by: 0

Documentation

Overview

this module handles publishing of events for add-on services e.g. to maintain a database of transactions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Finalise

func Finalise() error

finialise - stop all background tasks

func Initialise

func Initialise(configuration *Configuration, version string) error

initialise peer backgrouds processes

Types

type Configuration

type Configuration struct {
	Broadcast  []string `gluamapper:"broadcast" json:"broadcast"`
	PrivateKey string   `gluamapper:"private_key" json:"private_key"`
	PublicKey  string   `gluamapper:"public_key" json:"public_key"`
}

a block of configuration data this is read from the configuration file

Jump to

Keyboard shortcuts

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