mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-29 16:14:42 +00:00
10 lines
315 B
Go
10 lines
315 B
Go
|
|
package confmap
|
||
|
|
|
||
|
|
// Config is an interface that defines methods for creating and validating configurations.
|
||
|
|
type Config interface {
|
||
|
|
// New creates a new instance of the configuration with default values.
|
||
|
|
NewWithDefaults() Config
|
||
|
|
// Validate the configuration and returns an error if invalid.
|
||
|
|
Validate() error
|
||
|
|
}
|