prysm-pulse/beacon-chain/rpc/apimiddleware
Radosław Kapka 57fac9b74f
Improve API Middleware design (#9324)
* remove superfluous WriteHeader call

* move custom handlers outside hooks

* rename OnPostStart hook

* function that returns a default endpoint

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-08-05 20:21:43 +00:00
..
BUILD.bazel Restructure RPC packages to be future compatible (#9136) 2021-07-02 15:54:52 +00:00
custom_handlers_test.go Restructure RPC packages to be future compatible (#9136) 2021-07-02 15:54:52 +00:00
custom_handlers.go Improve API Middleware design (#9324) 2021-08-05 20:21:43 +00:00
custom_hooks_test.go Implement PrepareBeaconCommitteeSubnet in the validator API (#9318) 2021-08-05 07:23:52 +00:00
custom_hooks.go Implement PrepareBeaconCommitteeSubnet in the validator API (#9318) 2021-08-05 07:23:52 +00:00
endpoint_factory.go Improve API Middleware design (#9324) 2021-08-05 20:21:43 +00:00
structs.go Implement PrepareBeaconCommitteeSubnet in the validator API (#9318) 2021-08-05 07:23:52 +00:00