config

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT 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    ZrpcConf
	Gateway GatewayConf

	JzeroConf
}

type GatewayConf added in v0.13.0

type GatewayConf struct {
	gateway.GatewayConf

	ListenOnUnixSocket string `json:",optional"`
}

type JzeroConf added in v0.13.0

type JzeroConf struct {
	Log   LogConf
	Mysql MysqlConfig
}

type LogConf added in v0.13.0

type LogConf struct {
	logx.LogConf
	// only Log.Mode is file or volume take effect
	LogToConsole bool `json:",default=true"`
}

type MysqlConfig

type MysqlConfig struct {
	Username string `json:",optional"`
	Password string `json:",optional"`
	Address  string `json:",optional"`
	Database string `json:",optional"`
}

type ZrpcConf added in v0.13.0

type ZrpcConf struct {
	zrpc.RpcServerConf

	MaxConns int `json:",default=10000"`
}

Jump to

Keyboard shortcuts

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