mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-06 19:12:19 +00:00
3d10cee49b
* Fixed mispelling in json fields * Added CORS
18 lines
322 B
Go
18 lines
322 B
Go
package beacon_router_configuration
|
|
|
|
import "time"
|
|
|
|
type RouterConfiguration struct {
|
|
Active bool
|
|
Protocol string
|
|
Address string
|
|
// Cors data
|
|
AllowedOrigins []string
|
|
AllowedMethods []string
|
|
AllowCredentials bool
|
|
|
|
ReadTimeTimeout time.Duration
|
|
IdleTimeout time.Duration
|
|
WriteTimeout time.Duration
|
|
}
|