move headers into dedicated folder

This commit is contained in:
aler9
2020-10-04 18:08:38 +02:00
parent 7ad47b8b30
commit a465335210
12 changed files with 170 additions and 141 deletions

11
auth.go
View File

@@ -10,14 +10,3 @@ func md5Hex(in string) string {
h.Write([]byte(in))
return hex.EncodeToString(h.Sum(nil))
}
// AuthMethod is an authentication method.
type AuthMethod int
const (
// Basic authentication method
Basic AuthMethod = iota
// Digest authentication method
Digest
)