package
Version:
v0.0.0-...-233725d
Opens a new window with list of versions in this module.
Published: Aug 19, 2020
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ConsistentHashing struct {
VirReplic int `json:"vir"`
Oplog *Oplog `json:"oplog"`
}
type Elector struct {
ZKEndpoints []string `json:"zk_endpoints"`
}
type Oplog struct {
Path string `json:"path"`
GRPCEndpoint string `json:"grpc_endpoint"`
}
type Worker struct {
HTTPEndpoint string `json:"http_endpoint"`
GRPCEndpoint string `json:"grpc_endpoint"`
CH *ConsistentHashing `json:"consistent_hashing"`
Elector *Elector `json:"elector,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.