mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
refactor(cors): Break apart CORS data and middleware
This commit is contained in:
@@ -35,6 +35,7 @@ type PeerServerConfig struct {
|
||||
ElectionTimeout time.Duration
|
||||
MaxClusterSize int
|
||||
RetryTimes int
|
||||
CORS *corsInfo
|
||||
}
|
||||
|
||||
type PeerServer struct {
|
||||
|
||||
Reference in New Issue
Block a user