]> Sergey Matveev's repositories - tofuproxy.git/blob - caches/caches.go
f451da46a1183b9cc9ba16f2ed23c28b1da20dd8
[tofuproxy.git] / caches / caches.go
1 package caches
2
3 import (
4         "crypto/tls"
5         "sync"
6 )
7
8 var (
9         Accepted  = make(map[string]string)
10         AcceptedM sync.RWMutex
11
12         Rejected  = make(map[string]string)
13         RejectedM sync.RWMutex
14
15         HTTPAuthCache  = make(map[string][2]string)
16         HTTPAuthCacheM sync.RWMutex
17
18         TLSAuthCache  = make(map[string]*tls.Certificate)
19         TLSAuthCacheM sync.RWMutex
20 )