env

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 19, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPGConfig

func NewPGConfig() (config.PGConfig, error)

func NewPrometheusConfig

func NewPrometheusConfig() (*prometheusConfig, error)

func NewSwaggerConfig

func NewSwaggerConfig() (*swaggerConfig, error)

Types

type GrpcConfig

type GrpcConfig struct {
	// contains filtered or unexported fields
}

func NewGRPCConfig

func NewGRPCConfig() (*GrpcConfig, error)

func (*GrpcConfig) Address

func (cfg *GrpcConfig) Address() string

type HTTPConfig

type HTTPConfig struct {
	// contains filtered or unexported fields
}

func NewHTTPConfig

func NewHTTPConfig() (*HTTPConfig, error)

func (*HTTPConfig) Address

func (cfg *HTTPConfig) Address() string

type JwtConfig

type JwtConfig struct {
	// contains filtered or unexported fields
}

func NewJwtConfig

func NewJwtConfig() (*JwtConfig, error)

func (*JwtConfig) GetAccessSecret

func (cfg *JwtConfig) GetAccessSecret() string

func (*JwtConfig) GetRefreshSecret

func (cfg *JwtConfig) GetRefreshSecret() string

type Pgconfig

type Pgconfig struct {
	// contains filtered or unexported fields
}

func (*Pgconfig) DSN

func (cfg *Pgconfig) DSN() string

Jump to

Keyboard shortcuts

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