Documentation
¶
Index ¶
Constants ¶
View Source
const DEFAULT_CSV_PATH = ".uniprint/keys.csv.encrypted"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSVManager ¶
type CSVManager struct {
// contains filtered or unexported fields
}
func GetCSVManager ¶
func GetCSVManager() *CSVManager
func InitializeCSV ¶
func InitializeCSV() (*CSVManager, error)
func (*CSVManager) AccessRow ¶
func (c *CSVManager) AccessRow(username string) (*Credential, error)
func (*CSVManager) AddRow ¶
func (c *CSVManager) AddRow(cred Credential) error
func (*CSVManager) UpdateRow ¶
func (c *CSVManager) UpdateRow(username string, newCred Credential) error
type Credential ¶
Click to show internal directories.
Click to hide internal directories.