application

package module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: MIT Imports: 8 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

application

Go Reference

TODO


Copyright (c) 2022 Archivage Numérique

Documentation

Overview

Package application TODO

Index

Constants

This section is empty.

Variables

View Source
var ErrStop = errors.New("stop application")

Functions

This section is empty.

Types

type Application

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

func New

func New(name, version, builtAt, description string) *Application

func (*Application) BuildSettings

func (a *Application) BuildSettings(key string) (string, bool)

func (*Application) BuiltAt

func (a *Application) BuiltAt() time.Time

func (*Application) Description

func (a *Application) Description() string

func (*Application) Environment

func (a *Application) Environment() string

func (*Application) GoVersion

func (a *Application) GoVersion() string

func (*Application) ID

func (a *Application) ID() string

func (*Application) LookupEnv

func (a *Application) LookupEnv(keys ...string) (string, bool)

func (*Application) Name

func (a *Application) Name() string

func (*Application) OnError added in v0.4.0

func (a *Application) OnError(err error) error

func (*Application) StartedAt

func (a *Application) StartedAt() time.Time

func (*Application) Version

func (a *Application) Version() string

Jump to

Keyboard shortcuts

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