serviceoperator

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMail

func GetMail() string

GetMail returns the service operator mail address

func LoadConfig

func LoadConfig(data []byte)

LoadConfig loads the serviceoperator config from the given config data

Types

type OperatorConf

type OperatorConf struct {
	Mail        string `yaml:"mail"`
	PrivacyMail string `yaml:"privacy_mail"`
	Name        string `yaml:"name"`
	Link        string `yaml:"link"`
}

OperatorConf holds configuration about the operator of this orpheus instance

func GetConfig

func GetConfig() OperatorConf

GetConfig returns the OperatorConf

Jump to

Keyboard shortcuts

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