Documentation
¶
Index ¶
Constants ¶
View Source
const GREEN_COLOR = "#04B575"
View Source
const LIST_FOOTER_HEIGHT = 3
View Source
const LIST_HEADER_HEIGHT = 6
View Source
const LIST_HEIGHT = 14
View Source
const LIST_PROPORTION = 0.3
View Source
const LIST_WIDTH = 10
View Source
const PRIMARY_COLOR = "#1163E6"
View Source
const RED_COLOR = "#FF4141"
View Source
const SECMAN_LIST_HEIGHT = 34
View Source
const SECMAN_LIST_WIDTH = 14
View Source
const SECONDARY_COLOR = "#B4B4B4"
View Source
const SMUI_PORT = "3750"
View Source
const YELLOW_COLOR = "178"
Variables ¶
View Source
var ( DotSecmanPath = filepath.Join(homeDir, ".secman") SecmanConfigPath = filepath.Join(DotSecmanPath, "secman.json") SMUIPath = filepath.Join(DotSecmanPath, "ui") SMUIIndexPath = filepath.Join(SMUIPath, "index.html") _, SmErr = ioutil.ReadFile(SecmanConfigPath) )
View Source
var ( Checkmark = "[" + checkmarkChar.String() + "] " X = "[" + xChar.String() + "] " )
View Source
var GRAY_COLOR = lipgloss.AdaptiveColor{Light: "#9B9B9B", Dark: "#5C5C5C"}
View Source
var HelpExamples = fmt.Sprintf(` %s $ secman init %s $ secman auth %s $ secman insert --[PASSWORD_TYPE] %s $ secman . %s $ secman read --[PASSWORD_TYPE] <PASSWORD_NAME> %s $ secman edit --[PASSWORD_TYPE] <PASSWORD_NAME> %s $ secman delete --[PASSWORD_TYPE] <PASSWORD_NAME> %s $ secman generate `, Logo("Initialize ~/.secman"), Logo("Authorize With Secman"), Logo("Insert a New Password"), Logo("List All Passwords"), Logo("Read a Password"), Logo("Edit a Password"), Logo("Delete"), Logo("Generate"))
View Source
var INACTIVE_COLOR = lipgloss.AdaptiveColor{Light: "#CACACA", Dark: "#4F4F4F"}
View Source
var SUBTITLE_COLOR = lipgloss.AdaptiveColor{Light: "#9B9B9B", Dark: "#5C5C5C"}
View Source
var TABLE_BORDER_DESIGN = table.Border{
Top: "─",
Left: "│",
Right: "│",
Bottom: "─",
TopRight: "╮",
TopLeft: "╭",
BottomRight: "╯",
BottomLeft: "╰",
TopJunction: "┬",
LeftJunction: "├",
RightJunction: "┤",
BottomJunction: "┴",
InnerJunction: "┼",
InnerDivider: "│",
}
View Source
var WHITE_COLOR = lipgloss.AdaptiveColor{Light: "#FFFDF5", Dark: "#FFFDF5"}
Functions ¶
func SecmanConfig ¶
func SecmanConfig() []byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.