env

package
v1.326.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 3 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Development = Environment("development")

Development environment.

Module for fx.

Functions

This section is empty.

Types

type Environment

type Environment string

Environment of the application.

func (Environment) IsDevelopment

func (e Environment) IsDevelopment() bool

IsDevelopment environment.

type Name added in v1.207.0

type Name string

Name of the service.

func NewName added in v1.207.0

func NewName() Name

NewName for this service.

type UserAgent added in v1.207.0

type UserAgent string

UserAgent for this service.

func NewUserAgent added in v1.207.0

func NewUserAgent(name Name, ver Version) UserAgent

NewUserAgent for this service.

type Version added in v1.207.0

type Version string

Version of the application.

func (Version) String added in v1.208.0

func (v Version) String() string

String of version.

Jump to

Keyboard shortcuts

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