Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ListenAddr string `yaml:"listen_addr" default:":5555"`
LogLevel string `yaml:"log_level" default:"warn"`
Metrics MetricsConfig `yaml:"metrics"`
PProfAddr *string `yaml:"pprof_addr" default:":6060"`
Forky *service.Config `yaml:"forky"`
HTTP *api.Config `yaml:"http" default:"{}"`
}
func NewConfigFromYAML ¶
func NewConfigFromYAMLFile ¶
type MetricsConfig ¶
type NotFoundRedirectRespWr ¶
type NotFoundRedirectRespWr struct {
http.ResponseWriter
// contains filtered or unexported fields
}
func (*NotFoundRedirectRespWr) Write ¶
func (w *NotFoundRedirectRespWr) Write(p []byte) (int, error)
func (*NotFoundRedirectRespWr) WriteHeader ¶
func (w *NotFoundRedirectRespWr) WriteHeader(status int)
Directories
¶
| Path | Synopsis |
|---|---|
|
Package api contains the OpenAPI specification and the generated server.
|
Package api contains the OpenAPI specification and the generated server. |
|
rest
Code generated by ogen, DO NOT EDIT.
|
Code generated by ogen, DO NOT EDIT. |
|
cmd
|
|
|
forky
command
Command forky fetches and serves Ethereum fork choice data.
|
Command forky fetches and serves Ethereum fork choice data. |
|
internal
|
|
|
api
Package api implements the Forky HTTP API as defined by the OpenAPI spec at api/openapi.yaml.
|
Package api implements the Forky HTTP API as defined by the OpenAPI spec at api/openapi.yaml. |
|
Package web provides the frontend filesystem.
|
Package web provides the frontend filesystem. |
Click to show internal directories.
Click to hide internal directories.