Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerMeta ¶
type ServerMeta struct { BuildTime time.Time `env:"BUILD_TIME" json:"build-time"` GHash string `env:"GHASH" json:"ghash"` Version string `env:"VERSION" json:"version"` }
func MustGetServerMeta ¶
func MustGetServerMeta(env goenv.EnvReader) *ServerMeta
Click to show internal directories.
Click to hide internal directories.