Discover Packages
github.com/arana-db/arana
pkg
proto
hint
package
Version:
v0.1.0-rc1
Opens a new window with list of versions in this module.
Published: Sep 1, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Hint represents a Hint, a valid Hint should include type and input kv pairs.
Follow the format below:
without inputs: YOUR_HINT()
with non-keyed inputs: YOUR_HINT(foo,bar,quz)
with keyed inputs: YOUR_HINT(x=foo,y=bar,z=quz)
Parse parses Hint from an input string.
String returns the display string.
KeyValue represents a pair of key and value.
Type represents the type of Hint.
const (
TypeMaster Type
TypeSlave
TypeRoute
TypeFullScan
TypeDirect
)
String returns the display string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.