config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load() error

Types

type GRPCConfig

type GRPCConfig interface {
	Address() string
	RateLimit() (int, time.Duration)
}

type HTTPConfig

type HTTPConfig interface {
	Address() string
}

type JWTConfig

type JWTConfig interface {
	RefreshTokenSecret() string
	AccessTokenSecret() string
	RefreshTokenLifetime() time.Duration
	AccessTokenLifetime() time.Duration
}

type PGConfig

type PGConfig interface {
	DSN() string
}

type SwaggerConfig

type SwaggerConfig interface {
	Address() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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