Documentation ¶
Index ¶
- type API
- type Client
- func (c *Client) LSPList() (*data.LSPList, error)
- func (c *Client) NewChannelOpenerClient() (breezservice.ChannelOpenerClient, context.Context, context.CancelFunc)
- func (c *Client) NewFundManager() (breezservice.FundManagerClient, context.Context, context.CancelFunc)
- func (c *Client) NewPushTxNotifierClient() (breezservice.PushTxNotifierClient, context.Context, context.CancelFunc)
- func (c *Client) NewSwapper(timeout time.Duration) (breezservice.SwapperClient, context.Context, context.CancelFunc)
- func (c *Client) NewSyncNotifierClient() (breezservice.SyncNotifierClient, context.Context, context.CancelFunc)
- func (c *Client) Rates() (*data.Rates, error)
- func (c *Client) ReceiverNode() (string, error)
- func (c *Client) Start() error
- func (c *Client) Stop() (err error)
- func (c *Client) Versions() ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { NewSyncNotifierClient() (breezservice.SyncNotifierClient, context.Context, context.CancelFunc) NewFundManager() (breezservice.FundManagerClient, context.Context, context.CancelFunc) NewSwapper(timeout time.Duration) (breezservice.SwapperClient, context.Context, context.CancelFunc) NewChannelOpenerClient() (breezservice.ChannelOpenerClient, context.Context, context.CancelFunc) NewPushTxNotifierClient() (breezservice.PushTxNotifierClient, context.Context, context.CancelFunc) LSPList() (*data.LSPList, error) }
API is the interface for external breez services.
type Client ¶
Client represents the client interface to breez services
func (*Client) NewChannelOpenerClient ¶
func (c *Client) NewChannelOpenerClient() (breezservice.ChannelOpenerClient, context.Context, context.CancelFunc)
NewChannelOpenerClient creates a new SyncNotifierClient
func (*Client) NewFundManager ¶
func (c *Client) NewFundManager() (breezservice.FundManagerClient, context.Context, context.CancelFunc)
NewFundManager creates a new FundsManager
func (*Client) NewPushTxNotifierClient ¶
func (c *Client) NewPushTxNotifierClient() (breezservice.PushTxNotifierClient, context.Context, context.CancelFunc)
NewPushTxNotifierClient creates a new PushTxNotifierClient
func (*Client) NewSwapper ¶
func (c *Client) NewSwapper(timeout time.Duration) (breezservice.SwapperClient, context.Context, context.CancelFunc)
NewSwapper creates a new Swapper
func (*Client) NewSyncNotifierClient ¶
func (c *Client) NewSyncNotifierClient() (breezservice.SyncNotifierClient, context.Context, context.CancelFunc)
NewSyncNotifierClient creates a new SyncNotifierClient
func (*Client) ReceiverNode ¶
Click to show internal directories.
Click to hide internal directories.