Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultPrinter ¶
func InitiateDatabaseConnection ¶ added in v0.2.0
Types ¶
type DBConfigArangoDB ¶
type DBConfigPostgres ¶
type DBConfigPostgres struct { Name string `json:"name" yaml:"name"` Host string `json:"host" yaml:"host"` Port string `json:"port" yaml:"port"` User string `json:"user" yaml:"user"` Password string `json:"password" yaml:"password"` SSLMode string `json:"sslmode" yaml:"sslmode"` }
func (DBConfigPostgres) String ¶
func (cp DBConfigPostgres) String() string
type DBConfigSQLite ¶ added in v0.2.0
type DatabaseConfig ¶
type DatabaseConfig struct { Type DatabaseType `json:"type" yaml:"type"` //ArangoDB DBConfigArangoDB `json:"arangodb" yaml:"arangodb"` Postgres lib.PostgresConfig `json:"postgres" yaml:"postgres"` SQLite DBConfigSQLite `json:"sqlite" yaml:"sqlite"` }
type DatabaseType ¶
type DatabaseType string
const ( DatabaseArangoDB DatabaseType = "arangodb" DatabasePostgres DatabaseType = "postgres" DatabaseSQLite DatabaseType = "sqlite" DatabaseSupabase DatabaseType = "supabase" )
type ExpenseConfiguration ¶ added in v0.2.0
type ExpenseConfiguration struct { Telegram Telegram `json:"telegram" yaml:"telegram"` Database DatabaseConfig `json:"database" yaml:"database"` }
var TrackerConfig ExpenseConfiguration
Click to show internal directories.
Click to hide internal directories.