Skip to content
Snippets Groups Projects
Select Git revision
  • 21bbf9e63219a551771139ea7494c8c1fbe41a4a
  • without_tipselection default
  • develop protected
  • fix/grafana-local-dashboard
  • wasp
  • fix/dashboard-explorer-freeze
  • master
  • feat/timerqueue
  • test/sync_debug_and_650
  • feat/sync_revamp_inv
  • wip/sync
  • tool/db-recovery
  • portcheck/fix
  • fix/synchronization
  • feat/new-dashboard-analysis
  • feat/refactored-analysis-dashboard
  • feat/new-analysis-dashboard
  • test/demo-prometheus-fpc
  • prometheus_metrics
  • wip/analysis-server
  • merge/fpc-test-value-transfer
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.3
  • v0.1.2
  • v0.1.1
  • v0.1.0
28 results

info.go

Blame
  • info.go 380 B
    package client
    
    import (
    	"net/http"
    
    	webapi_info "github.com/iotaledger/goshimmer/plugins/webapi/info"
    )
    
    const (
    	routeInfo = "info"
    )
    
    // Info gets the info of the node.
    func (api *GoShimmerAPI) Info() (*webapi_info.Response, error) {
    	res := &webapi_info.Response{}
    	if err := api.do(http.MethodGet, routeInfo, nil, res); err != nil {
    		return nil, err
    	}
    	return res, nil
    }