module

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const API = "api"
View Source
const Database = "database"
View Source
const Filter = "filter"
View Source
const Index = "index"
View Source
const KVStore = "kv"
View Source
const Logger = "logger"
View Source
const PipelineJoint = "joint"
View Source
const Queue = "queue"
View Source
const Service = "service"
View Source
const Stats = "stats"
View Source
const Storage = "storage"
View Source
const System = "system"
View Source
const Tools = "tools"
View Source
const UI = "ui"

Variables

This section is empty.

Functions

func New

func New()

func Register

func Register(moduleType string, mod Module)

func RegisterPlugin added in v0.10.0

func RegisterPlugin(moduleType string, mod Module)

func Start

func Start()

func Stop

func Stop()

Types

type Module

type Module interface {
	Start(config *config.Config)
	Stop() error
	Name() string
}

Module defines system level module structure

type Modules

type Modules struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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