config

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 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 {
	zrpc.RpcServerConf
	Gateway gateway.GatewayConf

	Jzero JzeroConfig
}

type JzeroConfig

type JzeroConfig struct {
	ListenOnUnixSocket string `json:",optional"`
	GrpcMaxConns       int    `json:",default=10000"`
	// only Log.Mode is file or volume take effect
	LogToConsole bool `json:",default=true"`

	Mysql MysqlConfig
}

type MysqlConfig

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

Jump to

Keyboard shortcuts

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