txt: ## dist_zef-patrickb-Cro-HTTP-Middleware-GoatCounter.md
  ```
  =begin pod
  
  =head1 NAME
  
  Cro::HTTP::Middleware::GoatCounter
  
  =head1 SYNOPSIS
  
  =begin code :lang
  
  use Cro::HTTP::Server;
  use Cro::HTTP::Middleware::GoatCounter;
  
  my $gc-api-url = "https://MYCODE.goatcounter.com/api/v0";
  my $gc-token = "hienaitkyvzjvriheac2402407538153tn7v53c520hihtaylei";
  
  my Cro::Service $http = Cro::HTTP::Server.new(
      :$host, :$port,
      application => routes(),
      before => [
          Cro::HTTP::Middleware::GoatCounter.new(
              api-url => $gc-api-url,
              token   => $gc-token
          ),
      ],
  );
  
  =end code
  
  =head1 DESCRIPTION
  
  This module provides a simple Cro to GoatCounter integration.
  See the GoatCounter homepage L for more
  information.
  
  =head1 AUTHOR
  
  Patrick Böker 
  
  =head1 COPYRIGHT AND LICENSE
  
  Copyright 2020-2024 Patrick Böker
  
  This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.
  
  =end pod
  
  ```
  