config

package
v0.1.7-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	TokenIssClaim        string
	TokenRefreshDuration time.Duration
	TokenAccessDuration  time.Duration
	KeyLength            int
	Stage                string
	UserStorageDriver    any
	KeysStorageDriver    any
}
var Cfg Config

type DynamoDBDriverConfig

type DynamoDBDriverConfig struct {
	TableName string
}

type MongoDBDriverConfig

type MongoDBDriverConfig struct {
	ConnectURL string
	Database   string
	Collection string
}

type S3DriverConfig

type S3DriverConfig struct {
	BucketName     string
	PrivateKeyName string
	JWKSName       string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL