Skip to content
Snippets Groups Projects
Select Git revision
  • ee2f6ae33368ff935416e11f972f8a37ecb7a3f1
  • main default protected
  • tags/misc
  • tags/version-0.5r2
  • tags/version-0.6
  • tags/version-0.4
  • tags/version-0.5r1
  • tags/libxaal_v01
  • tags/generic-feedback-renderer_complexAPI
  • tags/testing-libsodium
  • tags/testing-nettle
  • tags/testing_ajax
  • tags/testing_clearsilver
  • tags/testing_jansson
  • tags/testing_jsmn
  • tags/testing_json-c
16 results

metadatadb.conf

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
    }