erigon-pulse/cl/beacon/beacon_router_configuration/cfg.go
Giulio rebuffo 3d10cee49b
Make Caplin work with Otterscan (#9115)
* Fixed mispelling in json fields
* Added CORS
2024-01-02 23:29:00 +01:00

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
}