config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Package config provides a way to work with runtime configuration options.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHome

func GetHome() (string, error)

GetHome returns the home directory of the current user.

func GetHostName

func GetHostName() (string, error)

GetHostName returns the hostname for the current computer.

func Parse

func Parse(ctx context.Context) error

Parse loads in the environment variables used for runtime configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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