Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Development = Environment("development")
Development environment.
View Source
var Module = fx.Options( fx.Provide(NewUserAgent), fx.Provide(NewName), )
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.
func (Environment) IsEmpty ¶ added in v1.329.0
func (e Environment) IsEmpty() bool
IsEmpty environment.
type UserAgent ¶ added in v1.207.0
type UserAgent string
UserAgent for this service.
func NewUserAgent ¶ added in v1.207.0
NewUserAgent for this service.
Click to show internal directories.
Click to hide internal directories.