Documentation ¶
Index ¶
- Variables
- type Service
- func (s *Service) ArchiveRetrievalLogs(req *pb.ArchiveRetrievalLogsRequest, ...) error
- func (s *Service) ArchiveRetrievalLs(ctx context.Context, req *pb.ArchiveRetrievalLsRequest) (*pb.ArchiveRetrievalLsResponse, error)
- func (s *Service) ArchivesImport(ctx context.Context, req *pb.ArchivesImportRequest) (*pb.ArchivesImportResponse, error)
- func (s *Service) ArchivesLs(ctx context.Context, req *pb.ArchivesLsRequest) (*pb.ArchivesLsResponse, error)
- func (s *Service) DeleteInboxMessage(ctx context.Context, req *pb.DeleteInboxMessageRequest) (*pb.DeleteInboxMessageResponse, error)
- func (s *Service) DeleteSentboxMessage(ctx context.Context, req *pb.DeleteSentboxMessageRequest) (*pb.DeleteSentboxMessageResponse, error)
- func (s *Service) GetThread(ctx context.Context, req *pb.GetThreadRequest) (*pb.GetThreadResponse, error)
- func (s *Service) GetUsage(ctx context.Context, req *pb.GetUsageRequest) (*pb.GetUsageResponse, error)
- func (s *Service) ListInboxMessages(ctx context.Context, req *pb.ListInboxMessagesRequest) (*pb.ListInboxMessagesResponse, error)
- func (s *Service) ListSentboxMessages(ctx context.Context, req *pb.ListSentboxMessagesRequest) (*pb.ListSentboxMessagesResponse, error)
- func (s *Service) ListThreads(ctx context.Context, _ *pb.ListThreadsRequest) (*pb.ListThreadsResponse, error)
- func (s *Service) ReadInboxMessage(ctx context.Context, req *pb.ReadInboxMessageRequest) (*pb.ReadInboxMessageResponse, error)
- func (s *Service) SendMessage(ctx context.Context, req *pb.SendMessageRequest) (*pb.SendMessageResponse, error)
- func (s *Service) SetupMailbox(ctx context.Context, _ *pb.SetupMailboxRequest) (*pb.SetupMailboxResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrMailboxNotFound indicates that a mailbox has not been setup for a mail sender/receiver. ErrMailboxNotFound = errors.New("mail not found") )
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { Collections *mdb.Collections Mail *tdb.Mail BillingClient *billing.Client FilRetrieval *retrieval.FilRetrieval PowergateClient *pow.Client }
func (*Service) ArchiveRetrievalLogs ¶ added in v2.6.0
func (s *Service) ArchiveRetrievalLogs(req *pb.ArchiveRetrievalLogsRequest, server pb.APIService_ArchiveRetrievalLogsServer) error
ArchiveRetrievalLogs prints the logs of a retrieval.
func (*Service) ArchiveRetrievalLs ¶ added in v2.6.0
func (s *Service) ArchiveRetrievalLs(ctx context.Context, req *pb.ArchiveRetrievalLsRequest) (*pb.ArchiveRetrievalLsResponse, error)
ArchiveRetrievalLs lists existing retrievals for the account.
func (*Service) ArchivesImport ¶ added in v2.6.0
func (s *Service) ArchivesImport(ctx context.Context, req *pb.ArchivesImportRequest) (*pb.ArchivesImportResponse, error)
ArchivesImport imports Filecoin deals information for a Cid to the account.
func (*Service) ArchivesLs ¶ added in v2.6.0
func (s *Service) ArchivesLs(ctx context.Context, req *pb.ArchivesLsRequest) (*pb.ArchivesLsResponse, error)
ArchivesLs lists all known archives for an account.
func (*Service) DeleteInboxMessage ¶
func (s *Service) DeleteInboxMessage(ctx context.Context, req *pb.DeleteInboxMessageRequest) (*pb.DeleteInboxMessageResponse, error)
func (*Service) DeleteSentboxMessage ¶
func (s *Service) DeleteSentboxMessage(ctx context.Context, req *pb.DeleteSentboxMessageRequest) (*pb.DeleteSentboxMessageResponse, error)
func (*Service) GetThread ¶
func (s *Service) GetThread(ctx context.Context, req *pb.GetThreadRequest) (*pb.GetThreadResponse, error)
func (*Service) GetUsage ¶
func (s *Service) GetUsage(ctx context.Context, req *pb.GetUsageRequest) (*pb.GetUsageResponse, error)
func (*Service) ListInboxMessages ¶
func (s *Service) ListInboxMessages(ctx context.Context, req *pb.ListInboxMessagesRequest) (*pb.ListInboxMessagesResponse, error)
func (*Service) ListSentboxMessages ¶
func (s *Service) ListSentboxMessages(ctx context.Context, req *pb.ListSentboxMessagesRequest) (*pb.ListSentboxMessagesResponse, error)
func (*Service) ListThreads ¶
func (s *Service) ListThreads(ctx context.Context, _ *pb.ListThreadsRequest) (*pb.ListThreadsResponse, error)
func (*Service) ReadInboxMessage ¶
func (s *Service) ReadInboxMessage(ctx context.Context, req *pb.ReadInboxMessageRequest) (*pb.ReadInboxMessageResponse, error)
func (*Service) SendMessage ¶
func (s *Service) SendMessage(ctx context.Context, req *pb.SendMessageRequest) (*pb.SendMessageResponse, error)
func (*Service) SetupMailbox ¶
func (s *Service) SetupMailbox(ctx context.Context, _ *pb.SetupMailboxRequest) (*pb.SetupMailboxResponse, error)
Click to show internal directories.
Click to hide internal directories.