code: func (p *Proxy) checkEndpointList(ctx context.Context, e string) bool {
  	if p.endpointBlackList == nil && p.endpointWhiteList == nil {
  		return true
  	}
  
  	for _, rgx := range p.endpointBlackList {
  		if rgx.MatchString(e) {
  			return false
  		}
  	}
  
  	return true
  }
docs: // checkEndpointList looks if r is in whitelist or blackllist
  // returns true if endpoint is allowed