config

package
v0.0.0-...-5ebe793 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ConfigFile     string `json:"-"`
	Version        string `json:"-"` // This is set at build time
	Debug          bool   `json:"debug"`
	PrettyLogs     bool   `json:"pretty-logs"`
	Port           int    `json:"port"`
	EnableHTTPLogs bool   `json:"enable-http-logs"`

	GithubApi GithubApi `json:"github_api"`
}
var AppConfig Config = Config{}

type GithubApi

type GithubApi struct {
	LinuxRunners   Runner `json:"linux_runners"`
	WindowsRunners Runner `json:"windows_runners"`
	MacOSRunners   Runner `json:"macos_runners"`
}

type Runner

type Runner struct {
	Count      int    `json:"count"`
	Arch       string `json:"arch"`
	SelfHosted bool   `json:"self-hosted"`
}

Jump to

Keyboard shortcuts

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