application

package
v0.0.0-...-755d38d Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	Name    string
	Version string
	// contains filtered or unexported fields
}

func New

func New() *Application

func (*Application) Down

func (a *Application) Down()

Down - shut down application

func (*Application) DownBrutally

func (a *Application) DownBrutally()

DownBrutally - forcefully shutdown application

func (*Application) Up

func (a *Application) Up()

Up - Start application

type Gob

type Gob struct {
	Name      string
	Version   string
	Pid       int
	Address   string
	StartTime time.Time
	Status    uint8
}

Gob - used to store Shrine Status

func Read

func Read() ([]Gob, error)

Read - read data inside of multiple Gobs

Jump to

Keyboard shortcuts

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