Documentation
¶
Index ¶
- Variables
- func DeleteAuthInfoForHostname(hostname string) error
- func GetKnownHosts() ([]string, error)
- func GetTokenFor(hostname string) string
- func GetUsernameFor(hostname string) string
- func IsDebugMode() bool
- func SetAuthInfo(hostname string, data AuthInfo) error
- func SetCurrentOrgInfo(name, ID string) error
- func SetTokenForHostname(hostname, token string) error
- func SetUsernameForHostname(hostname, username string) error
- type AuthInfo
- type Config
- type OrgInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // The directory where the application config can be found ConfigDir = "~/.config/reliably" // The file that contains application config ConfigFile = ConfigDir + "/config.yaml" // The hostname of the reliably web services Hostname = "reliably.com" // The Entity Server hostname. This may be merged in to the Hostame variable later. EntityServerHost = Hostname )
Functions ¶
func GetKnownHosts ¶
func GetTokenFor ¶
func GetUsernameFor ¶
func IsDebugMode ¶
func IsDebugMode() bool
func SetAuthInfo ¶
func SetCurrentOrgInfo ¶
func SetTokenForHostname ¶
func SetUsernameForHostname ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.