Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(elrondFacade MainApiHandler) error
Start will boot up the api and appropriate routes, handlers and validators
Types ¶
type MainApiHandler ¶
type MainApiHandler interface {
RestApiPort() string
RestAPIServerDebugMode() bool
PprofEnabled() bool
PrometheusMonitoring() bool
PrometheusJoinURL() string
PrometheusNetworkID() string
}
MainApiHandler interface defines methods that can be used from `elrondFacade` context variable
Click to show internal directories.
Click to hide internal directories.