dataServer

package
v0.0.0-...-7d63ed4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataServer

type DataServer struct {
	DB db.DB

	Stopped bool
	// contains filtered or unexported fields
}

DataServer holds refs to primary stack of utilities for data retrieval and serving

func CreateServer

func CreateServer(ctx context.Context) (*DataServer, error)

CreateServer creates a data server stack and kicks off all go routines to start retrieving and serving data

func (*DataServer) Ready

func (ds *DataServer) Ready() chan bool

Ready provides notification channel that data from trackers is ready for use

func (*DataServer) Start

func (ds *DataServer) Start(ctx context.Context, exitCh chan int) error

Start the data server and all underlying resources

Jump to

Keyboard shortcuts

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