X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fnncp.go;h=d6a6d857ad08f40a7f74d667d2ab03fcaac15639;hb=823e905cef9ef709c264ce7c07945a2f6c8a1c8c;hp=9ff5b6d73fbb2fc26259af42532379a116bf415d;hpb=dd887c15fa21071a2f4931f7248e10c4ab1029d2;p=nncp.git diff --git a/src/nncp.go b/src/nncp.go index 9ff5b6d..d6a6d85 100644 --- a/src/nncp.go +++ b/src/nncp.go @@ -1,6 +1,6 @@ /* NNCP -- Node to Node copy, utilities for store-and-forward data exchange -Copyright (C) 2016-2019 Sergey Matveev +Copyright (C) 2016-2021 Sergey Matveev 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 @@ -19,6 +19,7 @@ along with this program. If not, see . package nncp import ( + "encoding/base32" "runtime" ) @@ -36,8 +37,12 @@ You should have received a copy of the GNU General Public License along with this program. If not, see .` ) +const Base32Encoded32Len = 52 + var ( - Version string = "UNKNOWN" + Version string = "8.0.2" + + Base32Codec *base32.Encoding = base32.StdEncoding.WithPadding(base32.NoPadding) ) func VersionGet() string { @@ -46,7 +51,7 @@ func VersionGet() string { func UsageHeader() string { return VersionGet() + ` -Copyright (C) 2016-2019 Sergey Matveev +Copyright (C) 2016-2021 Sergey Matveev License GPLv3: GNU GPL version 3 This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.