topo

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Topology

type Topology struct {
	DBName    string
	TableName string
	// dbName -> table slice
	DBs map[string][]string
	// tableName -> dbName
	Tables map[string]string
	// index -> tableName
	TableIndexMap map[int]string
	TableSlice    []int
	TableSliceLen int
}

func ParseTopology

func ParseTopology(dbName, tableName string, topology map[int]string) (*Topology, error)

Jump to

Keyboard shortcuts

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