config

package
v0.0.0-...-bb91008 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MulanPSL-2.0 Imports: 1 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
	MySQLConfig MySQLConfig

	RocketMQ RocketMQ
}

type MySQLConfig

type MySQLConfig struct {
	Name   string `json:"name"`
	Pwd    string `json:"pwd"`
	Host   string `json:"host"`
	Port   int    `json:"port"`
	Dbname string `json:"dbname"`
}

type RocketMQ

type RocketMQ struct {
	Address           string
	Topic             string
	DelayLevel        int
	Group             string
	SecKillTopic      string
	SecKillDelayLevel int
	SecKillGroup      string
}

Jump to

Keyboard shortcuts

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