]> Sergey Matveev's repositories - godlighty.git/blobdiff - meta4/scheme.go
Simpler Metalink4 hashes substitution
[godlighty.git] / meta4 / scheme.go
index da46e243e4725469d0db85af78a6c7a83985ab07..cccaa26f261ccdecf4a756ac5ca722fb073e926c 100644 (file)
@@ -1,6 +1,6 @@
 /*
 godlighty -- highly-customizable HTTP, HTTP/2, HTTPS server
-Copyright (C) 2021 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2021-2023 Sergey Matveev <stargrave@stargrave.org>
 
 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
@@ -23,10 +23,8 @@ import (
 )
 
 const (
-       HashSHA256 = "sha-256"
-       HashSHA512 = "sha-512"
-       Ext        = ".meta4"
-       MaxSize    = 1 << 16
+       Ext     = ".meta4"
+       MaxSize = 1 << 16
 )
 
 type Metalink struct {