statusservice

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartWebServer

func StartWebServer(data *Data) error

StartWebServer starts echo web service

Types

type Data

type Data struct {
	Port           int
	StatusProvider StatusProvider
}

Data keeps data required for service work

type StatusProvider

type StatusProvider interface {
	Get(id string) (*persistence.Status, error)
}

StatusProvider returns status for the ID

Jump to

Keyboard shortcuts

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