config

package
v0.0.0-...-f22805c Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 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

	Mysql struct {
		DataSource string
	}

	CacheRedis cache.CacheConf

	PaymentTimeout  int64
	RefundTimeout   int64
	MaxRetries      int
	DefaultPageSize int
	MaxAmount       float64
	MinAmount       float64

	RabbitMQ struct {
		Host              string
		Port              int
		Username          string
		Password          string
		VHost             string
		Exchange          string
		ConnectionTimeout int
		HeartbeatInterval int
	}

	OrderRpc zrpc.RpcClientConf
	UserRpc  zrpc.RpcClientConf
}

Jump to

Keyboard shortcuts

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