config

package
v0.0.0-...-f8ce26a Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 5 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 {
	rest.RestConf
	Auth               rest.AuthConf
	UploadConf         UploadConf
	DatabaseConf       config.DatabaseConf
	CasbinDatabaseConf config.DatabaseConf
	RedisConf          redis.RedisConf
	CasbinConf         casbin.CasbinConf
	CoreRpc            zrpc.RpcClientConf
}

type UploadConf

type UploadConf struct {
	MaxImageSize     int64
	MaxVideoSize     int64
	MaxAudioSize     int64
	MaxOtherSize     int64
	PrivateStorePath string
	PublicStorePath  string
}

Jump to

Keyboard shortcuts

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