From f9e13761d89f57510f7cab9ef8cb3b5c117ce7de Mon Sep 17 00:00:00 2001 From: Valdas Petrulis Date: Tue, 7 May 2024 10:23:36 +0300 Subject: [PATCH] Fix failing quality checks --- metrics/service.go | 20 +++++++++++++++++++- proxy/context.go | 17 +++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/metrics/service.go b/metrics/service.go index 1cc419e..0e1de75 100644 --- a/metrics/service.go +++ b/metrics/service.go @@ -1,9 +1,27 @@ +/* + * Copyright (C) 2024 The "MysteriumNetwork/openvpn-forwarder" Authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package metrics import ( + "time" + "github.com/mysteriumnetwork/openvpn-forwarder/proxy" "github.com/prometheus/client_golang/prometheus" - "time" ) var _ proxy.Listener = (*Service)(nil) diff --git a/proxy/context.go b/proxy/context.go index 4f3d922..a3ef36d 100644 --- a/proxy/context.go +++ b/proxy/context.go @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2024 The "MysteriumNetwork/openvpn-forwarder" Authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package proxy import (