hostpinger

package
v0.0.0-...-6410feb Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SCatalog

type SCatalog struct {
	Id        string      `json:"id"`
	Name      string      `json:"name"`
	Type      string      `json:"type"`
	Endpoints []SEndpoint `json:"endpoint"`
}

func NewCatalog

func NewCatalog() *SCatalog

type SEndpoint

type SEndpoint struct {
	Id        string `json:"id"`
	Interface string `json:"interface"`
	Region    string `json:"region"`
	Region_id string `json:"region_id"`
	Url       string `json:"url"`
	Name      string `json:"name"`
}

type SHostPingTask

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

func NewHostPingTask

func NewHostPingTask(interval int, host hostutils.IHost) *SHostPingTask

func (*SHostPingTask) Start

func (p *SHostPingTask) Start()

func (*SHostPingTask) Stop

func (p *SHostPingTask) Stop()

Jump to

Keyboard shortcuts

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