Documentation
¶
Index ¶
- type HTTPS
- func (h *HTTPS) AddPeer(ctx context.Context, peerID string, endpoint fftypes.JSONObject) (err error)
- func (h *HTTPS) Capabilities() *dataexchange.Capabilities
- func (h *HTTPS) CheckBLOBReceived(ctx context.Context, peerID, ns string, id fftypes.UUID) (hash *fftypes.Bytes32, err error)
- func (h *HTTPS) DownloadBLOB(ctx context.Context, payloadRef string) (content io.ReadCloser, err error)
- func (h *HTTPS) GetEndpointInfo(ctx context.Context) (peerID string, endpoint fftypes.JSONObject, err error)
- func (h *HTTPS) Init(ctx context.Context, prefix config.Prefix, callbacks dataexchange.Callbacks) (err error)
- func (h *HTTPS) InitPrefix(prefix config.Prefix)
- func (h *HTTPS) Name() string
- func (h *HTTPS) SendMessage(ctx context.Context, peerID string, data []byte) (trackingID string, err error)
- func (h *HTTPS) Start() error
- func (h *HTTPS) TransferBLOB(ctx context.Context, peerID, payloadRef string) (trackingID string, err error)
- func (h *HTTPS) UploadBLOB(ctx context.Context, ns string, id fftypes.UUID, content io.Reader) (payloadRef string, hash *fftypes.Bytes32, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPS ¶
type HTTPS struct {
// contains filtered or unexported fields
}
func (*HTTPS) Capabilities ¶
func (h *HTTPS) Capabilities() *dataexchange.Capabilities
func (*HTTPS) CheckBLOBReceived ¶
func (*HTTPS) DownloadBLOB ¶
func (*HTTPS) GetEndpointInfo ¶
func (*HTTPS) InitPrefix ¶
func (*HTTPS) SendMessage ¶
func (*HTTPS) TransferBLOB ¶
Click to show internal directories.
Click to hide internal directories.