- Enhanced the Config struct to support JSON marshaling and unmarshaling with human-readable duration strings for various OAuth settings. - Introduced temporary structures to facilitate the conversion of string duration fields to time.Duration types during JSON operations. - Added utility functions for parsing and formatting duration strings, ensuring accurate handling of time-related configurations. - Updated tests to validate the correct parsing and formatting of duration fields in the configuration. |
||
|---|---|---|
| .. | ||
| agent | ||
| audit | ||
| hello | ||
| job | ||
| kb | ||
| oauth | ||
| config.go | ||
| config_test.go | ||
| openapi.go | ||
| openapi_test.go | ||
| README.md | ||
| types.go | ||