func (this *WatchInfluxServer) Init(ctx monitor.Context) { this.Zkzone = ctx.ZkZone() this.Stop = ctx.StopChan() this.Wg = ctx.Inflight() this.addr = ctx.InfluxAddr() }