package
0.0.0-20240224082647-fac769ef5aa3
Repository: https://github.com/wangzhen94/iam.git
Documentation: pkg.go.dev
# Functions
LoadConfig reads in config file and ENV variables if set.
NewConfig returns a Config struct with the default values.
RequestShutdown emulates a received event that is considered as shutdown signal (SIGTERM/SIGINT) This returns whether a handler was notified.
SetupSignalHandler registered for SIGTERM and SIGINT.
# Constants
RecommendedEnvPrefix defines the ENV prefix used by all iam service.
RecommendedHomeDir defines the default directory used to place all iam service configurations.
# Structs
CertKey contains configuration items related to certificate.
CompletedConfig is the completed configuration for GenericAPIServer.
Config is a structure used to configure a GenericAPIServer.
No description provided by the author
InsecureServingInfo holds configuration of the insecure http server.
JwtInfo defines jwt fields used to create jwt authentication middleware.
SecureServingInfo holds configuration of the TLS server.