services

package
v0.0.0-...-ff93a16 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hub

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

func NewHub

func NewHub(db *durable.Database) *Hub

func (*Hub) StartService

func (hub *Hub) StartService(name string) error

type KeyService

type KeyService struct{}

func (*KeyService) Run

func (service *KeyService) Run(ctx context.Context) error

type ScanService

type ScanService struct{}

func (*ScanService) Run

func (service *ScanService) Run(ctx context.Context) error

type Service

type Service interface {
	Run(context.Context) error
}

Jump to

Keyboard shortcuts

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