host

package
v0.0.0-...-6c5db76 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DHost

type DHost struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewDHost

func NewDHost(id string) *DHost

func (*DHost) ID

func (h *DHost) ID() string

func (*DHost) Occupied

func (h *DHost) Occupied() bool

func (*DHost) Running

func (h *DHost) Running() bool

func (*DHost) SetOccupied

func (h *DHost) SetOccupied(val bool)

func (*DHost) SetRunning

func (h *DHost) SetRunning(val bool)

Jump to

Keyboard shortcuts

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