configs

package
v0.0.0-...-dcf5b65 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by github.com/gokultp/go-envparser. DO NOT EDIT.

Code generated by github.com/gokultp/go-envparser. DO NOT EDIT.

Code generated by github.com/gokultp/go-envparser. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubConfig

type GithubConfig struct {
	ClientID     *string  `env:"GITHUB_CLIENT_ID"`
	ClientSecret *string  `env:"GITHUB_CLIENT_SECRET"`
	AuthScopes   []string `env:"GITHUB_AUTH_SCOPES"`
	AuthRedirect *string  `env:"GITHUB_AUTH_REDIRECT"`
}

GithubConfig stores github oauth creds

func (*GithubConfig) DecodeEnv

func (t *GithubConfig) DecodeEnv() error

type LogConfig

type LogConfig struct {
	Level *string `env:"LOG_LEVEL"`
	Path  *string `env:"LOG_PATH"`
}

LogConfig encapsulates the log related configs

func (*LogConfig) DecodeEnv

func (t *LogConfig) DecodeEnv() error

type ProfileManager

type ProfileManager struct {
	URL                  *string `env:"PROFILE_MANAGER_URL"`
	InitConnections      *int    `env:"PROFILE_MANAGER_INIT_CONN"`
	ConnectionCapacity   *int    `env:"PROFILE_MANAGER_CONN_CAPACITY"`
	ConnectionTTLMinutes *int    `env:"PROFILE_MANAGER_CONN_TTL"`
}

ProfileManager stores configs for the grpc conn

func (*ProfileManager) DecodeEnv

func (t *ProfileManager) DecodeEnv() error

Jump to

Keyboard shortcuts

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