supbox

package
v0.0.0-...-009cde4 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(ct, key []byte) []byte

func FileExists

func FileExists(name string) bool

func GetDatabaseDSN

func GetDatabaseDSN(filePath string, encryptionKey string) string

func GetDatabaseFilePath

func GetDatabaseFilePath(root string) string

func GetEncryptedPassword

func GetEncryptedPassword(asarPath string) string

func GetEncryptedPasswordDataFromConfig

func GetEncryptedPasswordDataFromConfig(config RekordboxConfig) string

func GetImagePath

func GetImagePath(dataPath string, imagePath string) string

Types

type RekordboxConfig

type RekordboxConfig struct {
	Options  [][]string `json:"options"`
	Defaults struct {
		Mode         string `json:"mode"`
		Connectivity struct {
			URL string `json:"url"`
		} `json:"connectivity"`
		ClockServer struct {
			Urls []string `json:"urls"`
		} `json:"clock_server"`
	} `json:"defaults"`
}

func ReadRekordboxConfig

func ReadRekordboxConfig(path string) RekordboxConfig

Jump to

Keyboard shortcuts

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