package
0.9.1
Repository: https://github.com/coding-hui/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.
ServeHealthCheck runs a http server used to provide a api to check pump health status.
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.
GenericAPIServer contains state for an iam api server.
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.