Documentation ¶
Index ¶
- Constants
- func ExportToClusterHandler(router *gin.Engine, service *service.BaseService)
- func ExportToHealthHandler(router *gin.Engine, service *service.BaseService)
- func ExportToNodeHandler(router *gin.Engine, nodeService *service.BaseService)
- func ExportToRangeHandler(router *gin.Engine, rangeService *service.BaseService, ...)
- func ExportToWatcherHandler(router *gin.Engine, bs *service.BaseService) *service.WatcherService
- type ConfigResult
- type RangeChange
- type Server
Constants ¶
View Source
const ( Timeout = "timeout" CancelFunc = "__cancelFunc" Ctx = "__ctx" Start = "__start_time" ProtoContentType = "application/proto" )
Variables ¶
This section is empty.
Functions ¶
func ExportToClusterHandler ¶
func ExportToClusterHandler(router *gin.Engine, service *service.BaseService)
func ExportToHealthHandler ¶
func ExportToHealthHandler(router *gin.Engine, service *service.BaseService)
func ExportToNodeHandler ¶
func ExportToNodeHandler(router *gin.Engine, nodeService *service.BaseService)
func ExportToRangeHandler ¶
func ExportToRangeHandler(router *gin.Engine, rangeService *service.BaseService, watcherService *service.WatcherService)
func ExportToWatcherHandler ¶
func ExportToWatcherHandler(router *gin.Engine, bs *service.BaseService) *service.WatcherService
Types ¶
type ConfigResult ¶
type RangeChange ¶
type RangeChange int
const ( LeaderChange RangeChange = 1 << iota PeerChange )
func (RangeChange) IsChanged ¶
func (r RangeChange) IsChanged() bool
func (RangeChange) IsLeaderChange ¶
func (r RangeChange) IsLeaderChange() bool
func (RangeChange) IsPeerChange ¶
func (r RangeChange) IsPeerChange() bool
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
client
|
|
apd
Package apd implements arbitrary-precision decimals.
|
Package apd implements arbitrary-precision decimals. |
cblog
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.
|
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup. |
Click to show internal directories.
Click to hide internal directories.