Documentation ¶
Index ¶
- func MarshalObjectToYamlString(obj interface{}) (string, error)
- func MergeMap(dest, src map[interface{}]interface{}) map[interface{}]interface{}
- func RegisterRESTful(nacosConfig *Nacos, serverConf *rest.RestConf)
- func RegisterRPC(nacosConfig *Nacos, serverConf *zrpc.RpcServerConf)
- func UnmarshalYamlToMap(yamlStr string) (map[interface{}]interface{}, error)
- type Nacos
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalObjectToYamlString ¶
MarshalObjectToYamlString 序列化对象为 yaml 字符串
func MergeMap ¶
func MergeMap(dest, src map[interface{}]interface{}) map[interface{}]interface{}
MergeMap 合并源 map 到目标 map
func RegisterRESTful ¶
RegisterRESTful 注册RESTful API
func RegisterRPC ¶
func RegisterRPC(nacosConfig *Nacos, serverConf *zrpc.RpcServerConf)
RegisterRPC 注册
Types ¶
Click to show internal directories.
Click to hide internal directories.