package
0.0.0-20241008100327-50a850cf9b5b
Repository: https://github.com/go-fox/fox.git
Documentation: pkg.go.dev

# Packages

Package file MIT License # Copyright (c) 2024 go-fox Author https://github.com/go-fox/fox Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

# Functions

Close closer all Observer.
Get is get a value for defaultConfig.
Load load resources.
MustLoad resources must be loaded.
New create a Config.
Scan scans the value to the specified structure for defaultConfig.
SetDefault Set default config.
Watch Configure Observer.
WithDecoder configure Decoder.
WithMerge configure Merge.
WithResolver configure Resolver.
WithSources configure sources.

# Variables

ErrorNotFound not found error.

# Structs

DataSet dataset.
Duration config time.Duration.

# Interfaces

Config interface.
Reader interface.
Source is config source interface.
Value 值接口.
Watcher watcher definition.

# Type aliases

Decoder is config decoder.
Merge is config merge func.
Observer config observer.
Option 构造函数参数.
Resolver resolve placeholder in config.