package
0.12.8
Repository: https://github.com/rotationalio/ensign.git
Documentation: pkg.go.dev

# Functions

New loads and parses the config from the environment and validates it, marking it as processed so that external users can determine if the config is ready for use.

# Structs

Config uses confire to load the required settings from the environment, parse and validate them, loading defaults where necessary in preparation for running the Quarterdeck API service.
No description provided by the author
Used by the Rate Limiter middleware Limit: represents the number of tokens that can be added to the token bucket per second Burst: maximum number of tokens/requests in a "token bucket" which is initially full empty token bucket results in failed requests TTL: //number of minutes before an IP is removed from the ratelimiter map NOTE: If Burst is not included the config, then all requests will be rejected! The Validate() method checks to see if the all required values for the RateLimiter middleware are populated and will fail startup if they are not populated.
Uses by the daily PLG reports and other Quarterdeck email reporting tools.
No description provided by the author
No description provided by the author