package
0.0.0-20250216052840-474a5a15f83a
Repository: https://github.com/josh-silvas/dmux.git
Documentation: pkg.go.dev

# Functions

CreateIfNotExist function will create the directory and file for the config if it does not already exist.
GetConfig function takes a home directory path or none to use the user profile directory, and loads the ini file into a Settings structure and returns back the loaded config.
New function will initialize a logger type, gather profile information and set up the config directory if needed.
PromptExpire : Prompts for an expiration into the get function.
PromptUser : Determines that the Get function has a username not just an API key.
WithExpire : Passes an expiration into the get function.
WithPasswdPromptText : Optionally pass in a custom prompt text for the password.
WithUser : Passes a username into the get function.
WithUserPromptText : Optionally pass in a custom prompt text for the user.

# Constants

ConfigPath : Base directory for DMux specific files.
KeyChainName declares a separate keychain as to separate from other keychains that could possibly sync to iCloud or other devices.
KeyName default name of the key stored in keychain.
SettingsFile : Name of the file in the ConfigPath directory that contains dmux settings.
Split : Special set of characters to act as a delimiter between the user and password.
SvcBase : The base string to identify a service in the keyring.

# Structs

Credential type is used as the type set/retrieved when interacting with the keyring package.
No description provided by the author
Settings type is the structure representation of the keyring ini profile held in the .config directory.

# Type aliases

No description provided by the author
No description provided by the author