config

package
v0.0.0-...-29d81d3 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Database Database
	MemStore MemStore
}

func NewConfig

func NewConfig() *Config

func NewConfigDefaults

func NewConfigDefaults() *Config

type Database

type Database struct {
	Host     string
	Port     string
	User     string
	Password string
	Name     string
}

type MemStore

type MemStore struct {
	Host     string
	Port     string
	Password string
	Database int
}

Jump to

Keyboard shortcuts

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