code: func (c *RTSClient) GetRealtimeStats(i *GetRealtimeStatsInput) (*RealtimeStatsResponse, error) {
  	if i.Service == "" {
  		return nil, ErrMissingService
  	}
  
  	path := fmt.Sprintf("/v1/channel/%s/ts/%d", i.Service, i.Timestamp)
  
  	if i.Limit != 0 {
  		path = fmt.Sprintf("%s/limit/%d", path, i.Limit)
  	}
  
  	resp, err := c.client.Get(path, nil)
  	if err != nil {
  		return nil, err
  	}
  
  	var s *RealtimeStatsResponse
  	if err := decodeJSON(&s, resp.Body); err != nil {
  		return nil, err
  	}
  	return s, nil
  }
docs: // GetRealtimeStats returns realtime stats for a service based on the GetRealtimeStatsInput
  // parameter. The realtime stats work in a rolling fasion where first request will return
  // a timestamp which should be passed to consequentive call and so on.
  // More details at https://docs.fastly.com/api/analytics