Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGateway ¶
func NewGateway(cliGW *cligw.Gateway, url string) ports.RPCGateway
Types ¶
type Gateway ¶
type Gateway struct {
// contains filtered or unexported fields
}
func (*Gateway) CallFor ¶
func (gateway *Gateway) CallFor(method enums.RPCMethod, params ...interface{}) (result any, err error)
CallFor executes an RPC method and returns the result or an error. The function sends an RPC request using the specified method and params, waits for the response, and handles timeouts.
Click to show internal directories.
Click to hide internal directories.