sysconf

package
v1.2.0-rc Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear()

Clear clears all properties.

func Clone

func Clone() *conf.Properties

Clone copies all properties into another properties.

func Delete

func Delete(key string)

Delete removes the property.

func Get

func Get(key string) string

Get returns the property of the key.

func MustGet

func MustGet(key string, def string) string

MustGet returns the property of the key, if not exist, returns the default value.

func Set

func Set(key string, val interface{}) error

Set sets the property of the key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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