general

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGeneralService

func NewGeneralService() models.ServiceHealthChecker

Types

type GeneralService

type GeneralService struct {
	core.ServiceCore
}

func (*GeneralService) CheckHealth

func (s *GeneralService) CheckHealth(url, apiKey string) (models.ServiceHealth, int)

func (*GeneralService) GetLatestVersion

func (s *GeneralService) GetLatestVersion() (string, error)

func (*GeneralService) GetVersion

func (s *GeneralService) GetVersion(url, apiKey string) (string, error)

Jump to

Keyboard shortcuts

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