config

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig()

LoadConfig initializes the configuration with hardcoded values.

Types

type Config

type Config struct {
	Token    Token
	Services map[string]Service
}

Config holds the entire configuration structure.

var C Config

C is the global configuration variable.

type Service

type Service struct {
	Host string
}

Service represents a service configuration.

type Token

type Token struct {
	FileName   string
	AppName    string
	FolderName string
}

Token represents token-related configuration.

Jump to

Keyboard shortcuts

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