code: func (h PfssoHandler) validateInfo(ctx context.Context, info map[string]string) error {
  	required := []string{"ip", "mac", "username", "role"}
  	for _, k := range required {
  		if _, ok := info[k]; !ok {
  			return errors.New(fmt.Sprintf("Missing %s in request", k))
  		}
  	}
  	return nil
  }
docs: // Validate that all the required fields are there in the request