github.com/holochain/holochain-proto@v0.1.0-alpha-26.0.20200915073418-5c83169c9b5b/action_getbridges.go (about)

     1  package holochain
     2  
     3  //------------------------------------------------------------
     4  // GetBridges
     5  
     6  type APIFnGetBridges struct {
     7  }
     8  
     9  func (a *APIFnGetBridges) Name() string {
    10  	return "getBridges"
    11  }
    12  
    13  func (a *APIFnGetBridges) Args() []Arg {
    14  	return []Arg{}
    15  }
    16  
    17  func (a *APIFnGetBridges) Call(h *Holochain) (response interface{}, err error) {
    18  	response, err = h.GetBridges()
    19  	return
    20  }