database

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	// Name represents the name of the database.
	Name string `mapstructure:"name" yaml:"name" json:"name" toml:"name"`
	// Path represents the path of the database.
	Path string `mapstructure:"path" yaml:"path" json:"path" toml:"path"`
}

Database represents the database configuration.

func InitializeDefaults

func InitializeDefaults() *Database

InitializeDefaults initializes the default values for the database configuration.

func (*Database) GetName

func (database *Database) GetName() string

GetName returns the name of the database.

func (*Database) GetPath

func (database *Database) GetPath() string

GetPath returns the path of the database.

Jump to

Keyboard shortcuts

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