Documentation
¶
Index ¶
- type UnionAdapter
- func (b *UnionAdapter) GetServiceIDList() ([]string, error)
- func (b *UnionAdapter) ID() string
- func (b *UnionAdapter) MonitorIBTP() chan *pb.IBTP
- func (b *UnionAdapter) MonitorUpdatedMeta() chan *[]byte
- func (b *UnionAdapter) Name() string
- func (b *UnionAdapter) QueryIBTP(id string, isReq bool) (*pb.IBTP, error)
- func (b *UnionAdapter) QueryInterchain(fullServiceId string) (*pb.Interchain, error)
- func (b *UnionAdapter) SendIBTP(ibtp *pb.IBTP) error
- func (b *UnionAdapter) SendUpdatedMeta(byte []byte) error
- func (u *UnionAdapter) Start() error
- func (b *UnionAdapter) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UnionAdapter ¶
type UnionAdapter struct {
// contains filtered or unexported fields
}
UnionAdapter represents the necessary data for sync tx from bitxhub
func New ¶
func New(peerMgr peermgr.PeerManager, bxh adapt.Adapt, logger logrus.FieldLogger) (*UnionAdapter, error)
func (*UnionAdapter) GetServiceIDList ¶
func (b *UnionAdapter) GetServiceIDList() ([]string, error)
func (*UnionAdapter) ID ¶
func (b *UnionAdapter) ID() string
func (*UnionAdapter) MonitorIBTP ¶
func (b *UnionAdapter) MonitorIBTP() chan *pb.IBTP
func (*UnionAdapter) MonitorUpdatedMeta ¶
func (b *UnionAdapter) MonitorUpdatedMeta() chan *[]byte
func (*UnionAdapter) Name ¶
func (b *UnionAdapter) Name() string
func (*UnionAdapter) QueryInterchain ¶
func (b *UnionAdapter) QueryInterchain(fullServiceId string) (*pb.Interchain, error)
func (*UnionAdapter) SendUpdatedMeta ¶
func (b *UnionAdapter) SendUpdatedMeta(byte []byte) error
func (*UnionAdapter) Start ¶
func (u *UnionAdapter) Start() error
func (*UnionAdapter) Stop ¶
func (b *UnionAdapter) Stop() error
Click to show internal directories.
Click to hide internal directories.