config

package
v0.0.0-...-aba061b Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ProjectPrefix = "RS_"
	ServerURL     = ProjectPrefix + "SERVER_URL"
	Environment   = ProjectPrefix + "ENVIRONMENT"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

func NewConfig

func NewConfig() (Config, error)

func (Config) Environment

func (c Config) Environment() env.Environment

func (Config) ServerURL

func (c Config) ServerURL() string

Jump to

Keyboard shortcuts

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