module

package
v0.0.0-...-a9ed6da Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package module implements the core module to start connection with HummingBird.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

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

type HummingBird

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

HummingBird encapsulates the logic on configuring, starting and stopping core modules

func NewHummingBird

func NewHummingBird(context context.T) *HummingBird

NewHummingBird gets HM core module that will manage the websocket connection between Agent and HM service.

func (*HummingBird) ModuleExecute

func (h *HummingBird) ModuleExecute(context context.T) (err error)

ModuleExecute starts the scheduling of the health check module

func (*HummingBird) ModuleName

func (h *HummingBird) ModuleName() string

ModuleName returns the name of module

func (*HummingBird) ModuleRequestStop

func (h *HummingBird) ModuleRequestStop(stopType contracts.StopType) (err error)

RequestStop handles the termination of the web socket plugin job

Jump to

Keyboard shortcuts

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