Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTP ¶
type HTTP struct {
// contains filtered or unexported fields
}
func NewHTTP ¶
func NewHTTP(log logrus.FieldLogger, svc *service.ForkChoice, opts *Options) *HTTP
func (*HTTP) BindToRouter ¶
type Options ¶
type Options struct {
MetricsEnabled bool
}
func DefaultOptions ¶
func DefaultOptions() *Options
func (*Options) SetMetricsEnabled ¶
func (*Options) WithMetricsDisabled ¶
func (*Options) WithMetricsEnabled ¶
Click to show internal directories.
Click to hide internal directories.