api

package
v1.0.42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2019 License: GPL-3.0 Imports: 19 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL