Categorygithub.com/StephanHCB/go-autumn-config-api
modulepackage
0.2.2
Repository: https://github.com/stephanhcb/go-autumn-config-api.git
Documentation: pkg.go.dev

# README

go-autumn-config-api

A library that handles configuration for enterprise microservices (API only package).

About go-autumn-config-api

This package declares a few public types that you will need for your package to collaborate with go-autumn-config implementations.

No actual code or dependencies are added if you include this package.

Import only this package when working on a library.

Available implementations

You have a number of choices that implement this API. Pick one for your application.

  • full yaml/env/command line configuration with support for multiple profiles: go-autumn-config
  • containerized 15 factor microservice configuration (environment vars + local yaml file only): go-autumn-config-env

Do not import any of these implementation packages when working on a library, or you'll prevent your users from making their choice of configuration library.

# Functions

ConfigNeedsNoValidation is an empty validation function.

# Structs

ConfigItem represents a configuration item for go-autumn-config.

# Type aliases

Type for a fatal error handler during initial configuration load.
ConfigValidationFunc is the type for a config item validation function.
Type for a warning message logging handler during configuration load and validation.