dependentServices

package
v0.0.0-...-2e08161 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(d *DependentService) bool

func Down

func Down(baseID string) bool

func Remove

func Remove(baseID string) bool

func Up

func Up(baseID string) bool

Types

type DependentService

type DependentService struct {
	UP helpers.Locker

	ServiceName string
	ServiceType string
	ServiceID   uint64
	BaseID      string
	Key         string
	URL         string
	Port        uint32
	SingleRun   bool
	// contains filtered or unexported fields
}

func GetActive

func GetActive() []*DependentService

func GetByBaseID

func GetByBaseID(baseID string) *DependentService

func (*DependentService) Address

func (ds *DependentService) Address() string

Jump to

Keyboard shortcuts

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