instance

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

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

func New

func New(slug, rdns string) (*Instance, error)

func (*Instance) Address

func (i *Instance) Address() *address.Address

func (*Instance) Boot added in v0.21.0

func (i *Instance) Boot(pidsDir string) error

func (*Instance) ID added in v0.21.0

func (i *Instance) ID() int

func (*Instance) PID added in v0.21.0

func (i *Instance) PID() int

func (*Instance) Shutdown added in v0.21.0

func (i *Instance) Shutdown() error

type Settings

type Settings struct {
	Slug       settings.String `key:"slug" default:"" mutation:"once"`
	Max        settings.Uint   `key:"max" default:"1" mutation:"once"`
	ReverseDNS settings.String `key:"reverse_dns" default:"" mutation:"once"`
}

func (Settings) Blueprint

func (s Settings) Blueprint() (*settings.Blueprint, error)

Jump to

Keyboard shortcuts

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