Documentation ¶
Index ¶
- Variables
- func Info(para cmodel.GraphInfoParam) (resp *cmodel.GraphFullyInfo, err error)
- func Last(para cmodel.GraphLastParam) (r *cmodel.GraphLastResp, err error)
- func LastRaw(para cmodel.GraphLastParam) (r *cmodel.GraphLastResp, err error)
- func QueryOne(para cmodel.GraphQueryParam) (resp *cmodel.GraphQueryResponse, err error)
- func Start()
Constants ¶
This section is empty.
Variables ¶
View Source
var (
GraphConnPools *spool.SafeRpcConnPools
)
连接池 node_address -> connection_pool
View Source
var (
GraphNodeRing *rings.ConsistentHashNodeRing
)
服务节点的一致性哈希环 pk -> node
Functions ¶
func Info ¶
func Info(para cmodel.GraphInfoParam) (resp *cmodel.GraphFullyInfo, err error)
func Last ¶
func Last(para cmodel.GraphLastParam) (r *cmodel.GraphLastResp, err error)
func LastRaw ¶
func LastRaw(para cmodel.GraphLastParam) (r *cmodel.GraphLastResp, err error)
func QueryOne ¶
func QueryOne(para cmodel.GraphQueryParam) (resp *cmodel.GraphQueryResponse, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.