Documentation ¶
Index ¶
- type ShareService
- func (s *ShareService) GetShare(ctx context.Context, dah *share.Root, row, col int) (share.Share, error)
- func (s *ShareService) GetShares(ctx context.Context, root *share.Root) ([][]share.Share, error)
- func (s *ShareService) GetSharesByNamespace(ctx context.Context, root *share.Root, nID namespace.ID) ([]share.Share, error)
- func (s *ShareService) Start(context.Context) error
- func (s *ShareService) Stop(context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShareService ¶
type ShareService struct { // contains filtered or unexported fields }
TODO(@Wondertan): Simple thread safety for Start and Stop would not hurt.
func NewShareService ¶
func NewShareService(bServ blockservice.BlockService, avail share.Availability) *ShareService
NewService creates a new basic share.Module.
Click to show internal directories.
Click to hide internal directories.