manifest

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

type Manifest struct {
	Application string
	Version     semver.Version
	CreatedAt   time.Time
	Timeouts    Timeouts
}

Manifest represents the metadata information related to an application.

func New

func New(name string, versionRaw string) *Manifest

New creates and returns a new Manifest instance initialized with the given application name and version.

type Timeouts added in v0.6.0

type Timeouts struct {
	Start time.Duration
	Stop  time.Duration
}

Timeouts represents the timeout which are used by the underlying DI system (fx)

Jump to

Keyboard shortcuts

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