cashless2ecash

cashless2ecash: pay with cards for digital cash (experimental)
Log | Files | Refs | README

commit 7fdea9d200d9afd82d7d68ccf498995b54889970
parent aba5647568909105f67eea5a71bf5e06c4734ce9
Author: Joel-Haeberli <haebu@rubigen.ch>
Date:   Wed, 12 Jun 2024 17:58:40 +0200

Add AGPL License Header

Diffstat:
Mc2ec/api-auth.go | 18++++++++++++++++++
Mc2ec/api-auth_test.go | 18++++++++++++++++++
Mc2ec/api-bank-integration.go | 18++++++++++++++++++
Mc2ec/api-terminals.go | 18++++++++++++++++++
Mc2ec/api-wire-gateway.go | 18++++++++++++++++++
Mc2ec/codec.go | 18++++++++++++++++++
Mc2ec/codec_test.go | 18++++++++++++++++++
Mc2ec/config.go | 18++++++++++++++++++
Mc2ec/db-postgres.go | 18++++++++++++++++++
Mc2ec/db.go | 18++++++++++++++++++
Mc2ec/encoding.go | 18++++++++++++++++++
Mc2ec/encoding_test.go | 18++++++++++++++++++
Mc2ec/exponential-backoff.go | 18++++++++++++++++++
Mc2ec/exponential-backoff_test.go | 18++++++++++++++++++
Mc2ec/http-util.go | 18++++++++++++++++++
Mc2ec/http-util_test.go | 18++++++++++++++++++
Mc2ec/logger.go | 18++++++++++++++++++
Mc2ec/main.go | 18++++++++++++++++++
Mc2ec/payto.go | 18++++++++++++++++++
Mc2ec/proc-attestor.go | 18++++++++++++++++++
Mc2ec/proc-listener.go | 18++++++++++++++++++
Mc2ec/proc-retrier.go | 18++++++++++++++++++
Mc2ec/proc-transfer.go | 18++++++++++++++++++
Mc2ec/provider.go | 18++++++++++++++++++
Mc2ec/simulation-client.go | 18++++++++++++++++++
Dc2ec/taler-wire-gateway-test.sh | 26--------------------------
Mc2ec/utils.go | 18++++++++++++++++++
Mc2ec/wallee-client.go | 18++++++++++++++++++
Mc2ec/wallee-client_test.go | 18++++++++++++++++++
Mc2ec/wallee-models.go | 18++++++++++++++++++
30 files changed, 522 insertions(+), 26 deletions(-)

diff --git a/c2ec/api-auth.go b/c2ec/api-auth.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/api-auth_test.go b/c2ec/api-auth_test.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/api-bank-integration.go b/c2ec/api-bank-integration.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/api-terminals.go b/c2ec/api-terminals.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/api-wire-gateway.go b/c2ec/api-wire-gateway.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/codec.go b/c2ec/codec.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/codec_test.go b/c2ec/codec_test.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/config.go b/c2ec/config.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/db-postgres.go b/c2ec/db-postgres.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/db.go b/c2ec/db.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/encoding.go b/c2ec/encoding.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/encoding_test.go b/c2ec/encoding_test.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/exponential-backoff.go b/c2ec/exponential-backoff.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/exponential-backoff_test.go b/c2ec/exponential-backoff_test.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/http-util.go b/c2ec/http-util.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/http-util_test.go b/c2ec/http-util_test.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/logger.go b/c2ec/logger.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/main.go b/c2ec/main.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/payto.go b/c2ec/payto.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/proc-attestor.go b/c2ec/proc-attestor.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/proc-listener.go b/c2ec/proc-listener.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/proc-retrier.go b/c2ec/proc-retrier.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/proc-transfer.go b/c2ec/proc-transfer.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/provider.go b/c2ec/provider.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main type ProviderTransaction interface { diff --git a/c2ec/simulation-client.go b/c2ec/simulation-client.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/taler-wire-gateway-test.sh b/c2ec/taler-wire-gateway-test.sh @@ -1,26 +0,0 @@ -#!/bin/bash - -# you must have the taler gateway client installed to execute these tests. -# do some tests using the taler gateway client: -# https://docs.taler.net/manpages/taler-exchange-wire-gateway-client.1.html - - -### Instead of adding testing endpoints, prepare testdata using sql - - -### INCOMING HISTORY -taler-exchange-wire-gateway-client -taler-exchange-wire-gateway-client -i -b https://bank.example.com - -taler-exchange-wire-gateway-client -i -b http://taler-c2ec.ti.bfh.ch/taler-wire-gateway/ - -### TRANSFER -taler-exchange-wire-gateway-client -taler-exchange-wire-gateway-client -C payto://example/bank/account -a EUR:10.00 -b https://bank.example.com -taler-exchange-wire-gateway-client -D payto://example/bank/account -a EUR:10.00 -b https://bank.example.com - -### OUTGOING HISTORY -taler-exchange-wire-gateway-client -taler-exchange-wire-gateway-client -o -b https://bank.example.com - -### cleanup test data diff --git a/c2ec/utils.go b/c2ec/utils.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/wallee-client.go b/c2ec/wallee-client.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/wallee-client_test.go b/c2ec/wallee-client_test.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import ( diff --git a/c2ec/wallee-models.go b/c2ec/wallee-models.go @@ -1,3 +1,21 @@ +// This file is part of taler-cashless2ecash. +// Copyright (C) 2024 Joel Häberli +// +// taler-cashless2ecash is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, +// or (at your option) any later version. +// +// taler-cashless2ecash is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// +// SPDX-License-Identifier: AGPL3.0-or-later + package main import (