refactor(cors): Break apart CORS data and middleware

This commit is contained in:
Brian Waldon
2014-01-17 20:04:10 -08:00
parent c47760382e
commit a93d60be90
6 changed files with 43 additions and 43 deletions

View File

@@ -35,6 +35,7 @@ type PeerServerConfig struct {
ElectionTimeout time.Duration
MaxClusterSize int
RetryTimes int
CORS *corsInfo
}
type PeerServer struct {