servicestate

package
v0.0.0-...-365054f Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NotRunning means no service exists
	NotRunning = State("NotRunning")
	// Starting means that service is started but not yet fully established
	Starting = State("Starting")
	// Running means that fully established service exists
	Running = State("Running")
)
View Source
const (
	// AppTopicServiceStatus is used in event bus to announce the service status.
	AppTopicServiceStatus = "Service status"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppEventServiceStatus

type AppEventServiceStatus struct {
	ID         string `json:"id"`
	ProviderID string `json:"provider_id"`
	Type       string `json:"type"`
	Status     string `json:"status"`
}

AppEventServiceStatus represents the service event related information

type State

type State string

State represents list of possible service states

Jump to

Keyboard shortcuts

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