config

package
v0.0.0-...-7695c73 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2015 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigDir

func ConfigDir() (string, error)

ConfigDir returns the configuration directory for Elasticfeed.

func ConfigFile

func ConfigFile() (string, error)

ConfigFile returns the default path to the configuration file. On Unix-like systems this is the ".elasticfeedconfig" file in the home directory. On Windows, this is the "elasticfeed.config" file in the application data directory.

func GetApiSecret

func GetApiSecret() string

func GetApiSuperuser

func GetApiSuperuser() string

func GetApiWhitelist

func GetApiWhitelist() string

func GetAuthRealm

func GetAuthRealm() string

func GetAuthType

func GetAuthType() string

func GetHomeAbsolutePath

func GetHomeAbsolutePath() string

func GetPluginPortMax

func GetPluginPortMax() uint

func GetPluginPortMin

func GetPluginPortMin() uint

func GetPluginStoragePath

func GetPluginStoragePath() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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