settings

package
v0.0.0-...-a44c12d Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MainTabBarsToken = "tokens"
	MainTabBarsTxs   = "txs"
	FolderLayoutGrid = "grid"
	FolderLayoutList = "list"
)
View Source
var (
	AppDir            string
	IntegratedNodeDir string
	WalletsDir        string
	CacheDir          string
)
View Source
var BuildTime = ""
View Source
var DonationAddress = "dero1qyhunyuk24g9qsjtcr4r0c7rgjquuernqcfnx76kq0jvn4ns98tf2qgj5dq70"
View Source
var GitVersion = "development"
View Source
var Name = "G45W"
View Source
var Version = "development"

vars below are replaced by -ldflags during build

Functions

func Load

func Load() error

func Save

func Save() error

Types

type AppSettings

type AppSettings struct {
	Language                string `json:"language"`
	HideBalance             bool   `json:"hide_balance"`
	SendRingSize            int    `json:"send_ring_size"`
	MainTabBars             string `json:"main_tab_bars"`
	Theme                   string `json:"theme"`
	FolderLayout            string `json:"folder_layout"`
	NodeSelect              string `json:"node_select"`
	Testnet                 bool   `json:"testnet"`
	MobileBackgroundService bool   `json:"mobile_background_service"`
}
var App AppSettings

Jump to

Keyboard shortcuts

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