config

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitStub

func InitStub() string

Types

type Config

type Config struct {
	DB       *Database
	Security *Security
}

func New

func New(datadir string) (*Config, error)

type Database

type Database struct {
	Host     string
	Port     string
	User     string
	Password string
	DBName   string
	SSLMode  string
}

func (*Database) ConnString

func (d *Database) ConnString() string

type Security added in v0.0.20

type Security struct {
	SecretKey []byte
}

Jump to

Keyboard shortcuts

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