Documentation ¶
Index ¶
- type MineObserver
- type Service
- func (s *Service) Protocol() p2p.ProtocolSpec
- func (s *Service) PushRollCall(ctx context.Context, expire int64, data []byte, skips ...swarm.Address) error
- func (s *Service) PushSelfTrustSign(ctx context.Context, expire int64, data []byte, target swarm.Address) error
- func (s *Service) PushSignatures(ctx context.Context, id uint32, expire int64, data []byte, ...) error
- func (s *Service) PushTrustSign(ctx context.Context, expire int64, data []byte, target swarm.Address, ...) error
- func (s *Service) SetMineObserver(observer MineObserver)
- func (s *Service) SetTopology(driver topology.Driver)
- func (s *Service) TrustsSignature(ctx context.Context, expire int64, data []byte, needTrust uint64, ...) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MineObserver ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Protocol ¶
func (s *Service) Protocol() p2p.ProtocolSpec
func (*Service) PushRollCall ¶
func (*Service) PushSelfTrustSign ¶ added in v0.0.4
func (*Service) PushSignatures ¶
func (*Service) PushTrustSign ¶
func (*Service) SetMineObserver ¶
func (s *Service) SetMineObserver(observer MineObserver)
func (*Service) SetTopology ¶
Click to show internal directories.
Click to hide internal directories.