package
Version:
v0.0.0-...-f638652
Opens a new window with list of versions in this module.
Published: Mar 4, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
*
包cloud包含了对云端程序的通用描述及功能集合
计算机节点的kercylan-lib实现。
构建一个KNode实例
会以host来创建一个KNode,这个节点描述了这个应用程序在云端的一切信息。
由于KNode在创建时会自己产生一个ID,所以极其建议将其使用数据库或其他方式进行存储。
这样在各种分布式、集群场景中可以确保通过数据库使用id检索到节点信息,也可以使用节点信息检索到节点id。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.