aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet/enums
diff options
context:
space:
mode:
authorBernd Fix <brf@hoi-polloi.org>2022-10-26 17:59:46 +0200
committerBernd Fix <brf@hoi-polloi.org>2022-10-26 17:59:46 +0200
commitbcc6ce0be0d9c240dce80c42af5b56e8ee805aff (patch)
treec8a78e0e37822e9709aa31202641d54cad01084b /src/gnunet/enums
parentcc143998695474cbe91941b91eaa9c8fa41d6700 (diff)
downloadgnunet-go-bcc6ce0be0d9c240dce80c42af5b56e8ee805aff.tar.gz
gnunet-go-bcc6ce0be0d9c240dce80c42af5b56e8ee805aff.zip
Identity service added to zone master.v0.1.37
Diffstat (limited to 'src/gnunet/enums')
-rw-r--r--src/gnunet/enums/results.go31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/gnunet/enums/results.go b/src/gnunet/enums/results.go
new file mode 100644
index 0000000..ea93b0e
--- /dev/null
+++ b/src/gnunet/enums/results.go
@@ -0,0 +1,31 @@
1// This file is part of gnunet-go, a GNUnet-implementation in Golang.
2// Copyright (C) 2019-2022 Bernd Fix >Y<
3//
4// gnunet-go is free software: you can redistribute it and/or modify it
5// under the terms of the GNU Affero General Public License as published
6// by the Free Software Foundation, either version 3 of the License,
7// or (at your option) any later version.
8//
9// gnunet-go is distributed in the hope that it will be useful, but
10// WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12// Affero General Public License for more details.
13//
14// You should have received a copy of the GNU Affero General Public License
15// along with this program. If not, see <http://www.gnu.org/licenses/>.
16//
17// SPDX-License-Identifier: AGPL3.0-or-later
18
19//nolint:stylecheck // allow non-camel-case for constants
20package enums
21
22// ResultCode type
23type ResultCode int32
24
25// ResultCode values
26const (
27 RC_SYSERR ResultCode = -1
28 RC_NO ResultCode = 0
29 RC_YES ResultCode = 1
30 RC_OK ResultCode = 1
31)