feat 错误包装
This commit is contained in:
@@ -15,8 +15,9 @@ type Server struct {
|
||||
func NewServer(ttl int64) *Server {
|
||||
s := &Server{
|
||||
Base: service.Base{
|
||||
Target: common.KeyDiscoverUser,
|
||||
EtcdTTL: ttl,
|
||||
Target: common.KeyDiscoverUser,
|
||||
ServiceName: common.KeyDiscoverServiceNameUser,
|
||||
EtcdTTL: ttl,
|
||||
},
|
||||
}
|
||||
s.Base.OnInit = s.OnInit
|
||||
|
||||
Reference in New Issue
Block a user