config

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLDBConfig

type SQLDBConfig struct {
	User            string `comment:"required"`
	Passwd          string `comment:"required"`
	Address         string `comment:"required"`
	Database        string `comment:"required"`
	ConnMaxLifetime int    `comment:"optional"`
	ConnMaxIdleTime int    `comment:"optional"`
	MaxIdleConns    int    `comment:"optional"`
	MaxOpenConns    int    `comment:"optional"`
	// whether enable trace PutEvent, use by spdb
	EnableTracePutEvent bool `comment:"optional"`
}

SQLDBConfig is sql db config

Jump to

Keyboard shortcuts

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