modifySettings

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetermineLang

func DetermineLang() (string, error)

DetermineLang is called by Main() in GoPage.go to check the global var commandLineString in modifySettings and if defined pass it to model.go

func DetermineLogging

func DetermineLogging() (string, error)

DetermineLogging takes no arguments, which invokes model.ServSettingSetLogging with the scoped global variable commandLineLogging to set that variable as the saved one, or continue with the default logging method

func DetermineRobots

func DetermineRobots() (string, error)

DetermineRobots returns the string value of robots from serverSettings.json

func SetLangEnv

func SetLangEnv(provided string)

SetLangEnv is to receive the command line specified language from config.go

func SetLoggingEnv

func SetLoggingEnv(provided string)

SetLoggingEnv receives the command line string from config.go DetermineEnv

func SetRobotsEnv

func SetRobotsEnv(provided string)

SetRobotsEnv receives the commmand line string from config.go DetermineEnv

Types

This section is empty.

Jump to

Keyboard shortcuts

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