config

package
v0.9.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StoreConfig

type StoreConfig struct {
	Type     string        `mapstructure:"type"`
	TTL      time.Duration `mapstructure:"ttl"`
	Purge    time.Duration `mapstructure:"purge"`
	Host     string        `mapstructure:"host"`
	Port     string        `mapstructure:"port"`
	User     string        `mapstructure:"user"`
	Password string        `mapstructure:"password"`
	Database string        `mapstructure:"database"`
	RDBMS    string        `mapstructure:"rdbms"`
	TLS      bool          `mapstructure:"tls"`
}

StoreConfig struct models a Store configuration in bot.yml

Jump to

Keyboard shortcuts

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