Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Start() StopAndJoin() // GetRoot(addr common.Address) (merkletree.Hash, error) GetRoot(id *core.ID) (merkletree.Hash, error) SetRoot(hash merkletree.Hash) }
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
func (*ServiceImpl) GetRoot ¶
func (s *ServiceImpl) GetRoot(id *core.ID) (merkletree.Hash, error)
func (*ServiceImpl) SetRoot ¶
func (s *ServiceImpl) SetRoot(hash merkletree.Hash)
func (*ServiceImpl) Start ¶
func (s *ServiceImpl) Start()
func (*ServiceImpl) StopAndJoin ¶
func (s *ServiceImpl) StopAndJoin()
Click to show internal directories.
Click to hide internal directories.