Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DriverOptions = []string{"postgres"}
)
Functions ¶
func GenerateKeyPair ¶
Types ¶
type Config ¶
type Config struct {
AppPort string
DBDriver string
DBConnectionString string
DBDebug bool
JWTSecret string
JWTPrivateKey *rsa.PrivateKey
JWTPublicKey *rsa.PublicKey
APIAllowedOrigins []string
MetricsEnabled bool
MetricsPort string
}
func NewConfig ¶
func NewConfig(logger *zap.SugaredLogger) *Config
Click to show internal directories.
Click to hide internal directories.