Results 13 comments of zkfy

感谢反馈,近期安排升级 https://www.mfsec.cn/jr?p=ac69c4 无法访问呢

参考示例: //OrderRefundHandle 订单退款 func (u *KxOrderInfoHandler) OrderRefundHandle(ctx hydra.IContext) (r interface{}) { ctx.Log().Info("--------订单退款--------") ctx.Log().Info("1.参数校验") if err := ctx.Request().Check(field.OrderID, field.MerchantNO, field.RefundCause); err != nil { return errs.NewErrorf(http.StatusNotAcceptable, "参数校验错误:%+v", err) } ctx.Log().Info("2.RPC请求", model.GetConf().KxOrderRefundURL)...

目前只支持:内存、文件系统、mysql、redis、zookeeper 作为注册中心

正在编写,敬请期待 [参考项目](https://github.com/micro-plat/sso/tree/master/flowserver)

[docs](https://github.com/micro-plat/hydra/tree/master/docs)下有一些资料 [v1.0](https://github.com/micro-plat/hydra/tree/dev1.0)会完善所有文档

一直在维护,部分代码在dev分支

1.0以前的版本主要支持linux,macos windows环境下使用请关注1.0(目前dev1.0)

暂不支持,可自已实现,使用registry.Register函数注册即可使用.参考代码 [https://github.com/micro-plat/hydra/blob/master/registry/zookeeper/zookeeper.go](https://github.com/micro-plat/hydra/blob/master/registry/zookeeper/zookeeper.go)