config

package
v0.0.0-...-33e7104 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(path string) error

Types

type AuthConfig

type AuthConfig interface {
	Address() string
}

func NewAuthConfig

func NewAuthConfig() (AuthConfig, error)

type GRPCConfig

type GRPCConfig interface {
	Address() string
}

func NewGRPCConfig

func NewGRPCConfig() (GRPCConfig, error)

type HTTPConfig

type HTTPConfig interface {
	Address() string
}

func NewHTTPConfig

func NewHTTPConfig() (HTTPConfig, error)

type PGConfig

type PGConfig interface {
	DSN() string
}

func NewPGConfig

func NewPGConfig() (PGConfig, error)

type SwaggerConfig

type SwaggerConfig interface {
	Address() string
}

func NewSwaggerConfig

func NewSwaggerConfig() (SwaggerConfig, error)

Jump to

Keyboard shortcuts

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