types

package
v1.1.15 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bolt

type Bolt struct {
	Path   string `yaml:"path"`
	Prefix string `yaml:"prefix"`
}

type Config

type Config struct {
	Name          string                  `yaml:"name"`
	Port          string                  `yaml:"port"`
	URLS          URLS                    `yaml:"urls"`
	Cookie        Cookie                  `yaml:"cookie"`
	Creds         Creds                   `yaml:"creds"`
	TimeZone      string                  `yaml:"time_zone"`
	AllowOrigins  []string                `yaml:"allow_origins"`
	SaveFilesPath string                  `yaml:"save_files_path"`
	Bolt          Bolt                    `yaml:"bolt"`
	Redis         Redis                   `yaml:"redis"`
	Docker        Docker                  `yaml:"docker"`
	Git           Git                     `yaml:"git"`
	Go            Go                      `yaml:"go"`
	Log           logger_types.ConfigFile `yaml:"log"`
}

type ConfigGeneric added in v1.1.13

type ConfigGeneric map[string]interface{}
type Cookie struct {
	User   CookieInfo `yaml:"user"`
	Admin  CookieInfo `yaml:"admin"`
	Secret string     `yaml:"secret"`
}

type CookieInfo

type CookieInfo struct {
	Name    string `yaml:"name"`
	Message string `yaml:"message"`
}

type Creds

type Creds struct {
	APIKey        string `yaml:"api_key"`
	AdminUsername string `yaml:"admin_username"`
	AdminPassword string `yaml:"admin_password"`
	EncryptionKey string `yaml:"encryption_key"`
	OpenAIKey     string `yaml:"openai_key"`
}

type Docker

type Docker struct {
	Name string `yaml:"name"`
}

type Git

type Git struct {
	URL    string `yaml:"url"`
	SSHURL string `yaml:"ssh_url"`
}

type Go

type Go struct {
	Version string `yaml:"version"`
	OS      string `yaml:"os"`
	Arch    string `yaml:"arch"`
}

type Redis

type Redis struct {
	Host     string `yaml:"host"`
	Port     string `yaml:"port"`
	Password string `yaml:"password"`
	Number   int    `yaml:"number"`
	Prefix   string `yaml:"prefix"`
	Enabled  bool   `yaml:"enabled"`
}

type URLS

type URLS struct {
	Local       string `yaml:"local"`
	Private     string `yaml:"private"`
	Public      string `yaml:"public"`
	AdminLogin  string `yaml:"admin_login"`
	AdminPrefix string `yaml:"admin_prefix"`
	Login       string `yaml:"login"`
	Prefix      string `yaml:"prefix"`
}

Jump to

Keyboard shortcuts

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