env

package
v2.167.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Module for fx.

Functions

This section is empty.

Types

type Environment

type Environment string

Environment of the application.

func (Environment) String

func (e Environment) String() string

String representation of the environment.

type ID

type ID string

ID of the service.

func NewID

func NewID(generator id.Generator) ID

NewID for this service.

func (ID) String

func (id ID) String() string

String representation of the ID.

type Name

type Name string

Name of the service.

func NewName

func NewName(fs *os.FS) Name

NewName for this service.

func (Name) String

func (n Name) String() string

String representation of the name.

type UserAgent

type UserAgent string

UserAgent for this service.

func NewUserAgent

func NewUserAgent(name Name, ver Version) UserAgent

NewUserAgent for this service.

func (UserAgent) String

func (ua UserAgent) String() string

String representation of the user agent.

type UserID added in v2.28.0

type UserID string

UserID of the service.

func NewUserID added in v2.28.0

func NewUserID(name Name) UserID

NewUserID for this service.

func (UserID) String added in v2.28.0

func (i UserID) String() string

String representation of the user id.

type Version

type Version string

Version of the application.

func NewVersion

func NewVersion() Version

NewVersion returns the version of the application.

func (Version) String

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