pulsemanager

package
v0.4.1 Latest Latest
Warning

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

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

Documentation

Overview

Package pulsemanager is responsible for all pulse operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PulseManager

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

PulseManager implements core.PulseManager.

func NewPulseManager

func NewPulseManager(db *storage.DB, coordinator *jetcoordinator.JetCoordinator) (*PulseManager, error)

NewPulseManager creates PulseManager instance.

func (*PulseManager) Current

func (m *PulseManager) Current() (*core.Pulse, error)

Current returns current pulse structure.

func (*PulseManager) Set

func (m *PulseManager) Set(pulse core.Pulse) error

Set set's new pulse and closes current jet drop.

Jump to

Keyboard shortcuts

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