config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ThreadSafeKoanf

type ThreadSafeKoanf struct {
	// contains filtered or unexported fields
}

ThreadSafeKoanf is a thread-safe wrapper around Koanf.

func New

func New() *ThreadSafeKoanf

func (*ThreadSafeKoanf) Read

func (t *ThreadSafeKoanf) Read(cb func(k *koanf.Koanf))

Read provides thread-safe read access to the Koanf instance.

func (*ThreadSafeKoanf) Write

func (t *ThreadSafeKoanf) Write(cb func(k *koanf.Koanf))

Write provides thread-safe write access to the Koanf instance.

Jump to

Keyboard shortcuts

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