mconfig

package
v0.0.0-...-f36e9ac Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SourceDB       = "source.db"
	TargetDB       = "target.db"
	ParallelNumber = "dml.parallel"
	CursorNumber   = "dml.cursor.number"
	BatchNumber    = "dml.insert.batch"

	ClusterShardPower = "table.cluster.sharding"

	RelocateTable = "table.cluster.sharding"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KeySets

type KeySets struct {
	Kes   string
	Value string
}

type KeyValue

type KeyValue struct {
	Value   string
	Default string
}

type Param

type Param struct {
	KeySet *jxparams.ParamsSet
	// contains filtered or unexported fields
}

func NewParams

func NewParams() (*Param, error)

func (*Param) GetKeyVal

func (p *Param) GetKeyVal(s string) (*jxparams.Params, bool)

func (*Param) GetPrefix

func (p *Param) GetPrefix(s string) ([]*jxparams.Params, bool)

func (*Param) Load

func (p *Param) Load() error

Jump to

Keyboard shortcuts

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