websocket

This commit is contained in:
XM-GO
2023-04-14 17:14:49 +08:00
parent 5852896a32
commit c8418bc969
12 changed files with 296 additions and 5 deletions

View File

@@ -58,6 +58,6 @@ func (c *nodeMetadata) With(key string, val interface{}) Metadata {
}
func (c *nodeMetadata) DecodePath(rawVal interface{}) error {
//return utils.Map2Struct(c.keypairs, rawVal)
//return tool.Map2Struct(c.keypairs, rawVal)
return mapstructure.Decode(c.keypairs, rawVal)
}