config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Host         string
	Port         int
	RetryTimeout time.Duration
	RetriesCount int
}

type ClientsConfig

type ClientsConfig struct {
	SSO Client
}

type Config

type Config struct {
	HTTP    HTTPConfig
	Clients ClientsConfig
	Logging LoggingConfig
}

func New

func New() *Config

type HTTPConfig

type HTTPConfig struct {
	Host              string
	Port              int
	ReadHeaderTimeout time.Duration
}

type LoggingConfig

type LoggingConfig struct {
	Level       slog.Level
	LogFilePath string
}

Jump to

Keyboard shortcuts

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