]> Sergey Matveev's repositories - tofuproxy.git/blob - caches/caches.go
Download link for 0.6.0 release
[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
21         Spies  = make([]string, 0)
22         SpiesM sync.RWMutex
23
24         Restricted = make(map[string][]string)
25         RestrictedM sync.RWMutex
26 )