riffle

package
v0.0.0-...-1c5ad5c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Application

func Application(format string, args ...interface{})

Logging

func Debug

func Debug(format string, args ...interface{})

func Error

func Error(format string, args ...interface{})

func Info

func Info(format string, args ...interface{})

func SetFabric

func SetFabric(url string)

func SetFabricDev

func SetFabricDev()

Fabric

func SetFabricLocal

func SetFabricLocal()

func SetFabricProduction

func SetFabricProduction()

func SetFabricSandbox

func SetFabricSandbox()

func SetLogLevelApp

func SetLogLevelApp()

func SetLogLevelDebug

func SetLogLevelDebug()

func SetLogLevelErr

func SetLogLevelErr()

func SetLogLevelInfo

func SetLogLevelInfo()

func SetLogLevelOff

func SetLogLevelOff()

Log Levels

func SetLogLevelWarn

func SetLogLevelWarn()

func SetRegistrar

func SetRegistrar(url string)

func TestCoreModels

func TestCoreModels(m core.Model)

NOT MEANT TO BE EXPOSED TO goRiffle!

func Warn

func Warn(format string, args ...interface{})

Types

type Domain

type Domain interface {
	Subdomain(string) Domain

	Subscribe(string, interface{}, ...Options) error
	Register(string, interface{}, ...Options) error
	Publish(string, ...interface{}) error
	Call(string, ...interface{}) ([]interface{}, error)

	Unsubscribe(string) error
	Unregister(string) error

	Join() error
	Leave() error
	Listen() error

	SetToken(string)
	GetToken() string
	LoadKey(string) error
}

func NewDomain

func NewDomain(name string) Domain

type Options

type Options struct {
	// Accepts a fuction
	// Usable by: Register, Call
	// If Registering, the function should return two channels immediately. Push on the
	// first channel for progress and the second channel for completion. Cumin is applied
	Progress interface{}
}

type ProcessedOptions

type ProcessedOptions struct {
	Options
	Json map[string]interface{}
}

Holds a processed set of options and the core-ready form of those options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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