conf

package
v0.0.0-...-04e9ec7 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AWSSetting = &AWS{}
View Source
var ApplicationSetting = &Application{}
View Source
var KafkaSetting = &Kafka{}
View Source
var MongoSetting = &Mongo{}
View Source
var PostgresSetting = &Postgres{}
View Source
var RedisSetting = &Redis{}
View Source
var ServerSetting = &Server{}

Functions

func GetLaughingTaleEngine

func GetLaughingTaleEngine() *fiber.App

func InitEngine

func InitEngine()

func SetUp

func SetUp(path string)

Types

type AWS

type AWS struct {
	Region string
}

type Application

type Application struct {
	RunType string
}

type Kafka

type Kafka struct {
	Enabled string
	Host1   string
	Host2   string
	Port1   string
	Port2   string
}

type Mongo

type Mongo struct {
	Enabled    string
	MasterNode string
	Port       string
}

type Postgres

type Postgres struct {
	Enabled        string
	MasterNodeHost string
	ReaderNodeHost string
	Port           string
	Username       string
	Password       string
	Database       string
	SslEnabled     string
	TablePrefix    string
}

type Redis

type Redis struct {
	Host string
	Port string
}

type Server

type Server struct {
	RunMode  string
	HttpPort int
}

Jump to

Keyboard shortcuts

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