config

package
v0.0.0-...-9889339 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 2 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 {
	Store    string
	Redis    Redis
	Postgres Postgres
	Mysql    Mysql
	S3       S3
}

func Load

func Load(path string) (*Config, error)

type Gorm

type Gorm struct {
	Url string
}

type Mysql

type Mysql struct {
	Gorm
}

type Postgres

type Postgres struct {
	Gorm
}

type Redis

type Redis struct {
	Address  string
	Password string
	Database int
}

type S3

type S3 struct {
	Bucket string
}

Jump to

Keyboard shortcuts

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