interfaces

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

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

Go to latest
Published: Nov 19, 2018 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LaunchRunnable

func LaunchRunnable(r Runnable, conf interface{}, log *golog.Loggers) (err error)

launchRunnable initializes and runs a Runnable in a single step

Types

type Runnable

type Runnable interface {
	Init(interface{}, *golog.Loggers) error
	Run() error
	Stop() error
	CleanUp() error
}

Runnable provides method signatures to manage the execution flow of the server and external resources

type RunnableGormable

type RunnableGormable interface {
	dbmanager.Gormable
	Runnable
}

RunnableGormable provides method signatures for a gorm manager that is Runnable

type RunnableRabbit

type RunnableRabbit interface {
	Runnable
	amqpmanager.Connectable
}

Jump to

Keyboard shortcuts

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