migrate

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0, 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 MinerConfig

type MinerConfig struct {
	FullNode *config.APIInfo
	Gateway  *config.GatewayNode
	Auth     *config.APIInfo

	SlashFilter *SlashFilterConfig

	Tracing *metrics.TraceConfig
	Metrics *metrics.MetricsConfig
}

func (*MinerConfig) ToMinerConfig

func (cfgV170 *MinerConfig) ToMinerConfig(cfg *config.MinerConfig)

type MySQLConfig

type MySQLConfig struct {
	Conn            string
	MaxOpenConn     int           // 100
	MaxIdleConn     int           // 10
	ConnMaxLifeTime time.Duration // 60(s)
	Debug           bool
}

type SlashFilterConfig

type SlashFilterConfig struct {
	Type  string
	MySQL MySQLConfig
}

Jump to

Keyboard shortcuts

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