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 { RestApiInterface() string RestAPIServerDebugMode() bool PprofEnabled() bool PrometheusMonitoring() bool PrometheusJoinURL() string PrometheusNetworkID() string IsInterfaceNil() bool }
MainApiHandler interface defines methods that can be used from `elrondFacade` context variable
Click to show internal directories.
Click to hide internal directories.