config

package
v0.0.0-...-f45b2b9 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: GPL-3.0 Imports: 3 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 {
	zrpc.RpcServerConf
	JwtAuth struct {
		AccessSecret string
		AccessExpire int64
	}
	DB struct {
		DataSource string
	}
	MongoDB struct {
		DataSource string
		DataBase   string
	}
	CacheConf     cache.CacheConf
	RedisConf     redis.RedisConf
	SendEmailConf EmailConf
	OpenIMConf    struct {
		Secret      string
		AdminUserID string
	}
}

type EmailConf

type EmailConf struct {
	User           string
	Password       string
	Host           string
	ReplyToAddress string
}

Jump to

Keyboard shortcuts

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