Directories
¶
| Path | Synopsis |
|---|---|
|
Package config defines a series of configuration, include yaml configuration, remote configuration and integration configuration which contains the above two configurations.
|
Package config defines a series of configuration, include yaml configuration, remote configuration and integration configuration which contains the above two configurations. |
|
loader
Package loader provides ConfigurationFileHandler and RemoteConfigurationLoader, the ConfigurationFileHandler is used for load config from cache and save remote config to cache, the RemoteConfigurationLoader is used for load config from remote etcd.
|
Package loader provides ConfigurationFileHandler and RemoteConfigurationLoader, the ConfigurationFileHandler is used for load config from cache and save remote config to cache, the RemoteConfigurationLoader is used for load config from remote etcd. |
|
Package datasource defines datasource interface, and implements the interface by ClusterDataSource, NodeDataSource, and ActualDataSource.
|
Package datasource defines datasource interface, and implements the interface by ClusterDataSource, NodeDataSource, and ActualDataSource. |
|
Package router which will route an actual datasource according to route strategy and sql type.
|
Package router which will route an actual datasource according to route strategy and sql type. |
|
Package util provides the function IsOnlyRead to check sql is only read, and provides a LRUCache.
|
Package util provides the function IsOnlyRead to check sql is only read, and provides a LRUCache. |
Click to show internal directories.
Click to hide internal directories.