edgehub

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleNameEdgeHub = "websocket"
)

define edgehub module name

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller is EdgeHub controller object

func NewEdgeHubController

func NewEdgeHubController() *Controller

NewEdgeHubController creates and returns a EdgeHubController object

func (*Controller) Start

func (ehc *Controller) Start(ctx *context.Context)

Start will start EdgeHub

type EdgeHub

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

EdgeHub defines edgehub object structure

func (*EdgeHub) Cleanup

func (eh *EdgeHub) Cleanup()

Cleanup sets up context cleanup through Edgehub name

func (*EdgeHub) Group

func (eh *EdgeHub) Group() string

Group returns EdgeHub group

func (*EdgeHub) Name

func (eh *EdgeHub) Name() string

Name returns the name of EdgeHub module

func (*EdgeHub) Start

func (eh *EdgeHub) Start(c *context.Context)

Start sets context and starts the controller

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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