usersd

package
v2.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2021 License: MIT Imports: 22 Imported by: 0

Documentation

Index

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

ArchiveRetrievalLogs prints the logs of a retrieval.

func (*Service) ArchiveRetrievalLs added in v2.6.0

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 (*Service) DeleteSentboxMessage

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 (*Service) ListSentboxMessages

func (*Service) ListThreads

func (*Service) ReadInboxMessage

func (*Service) SendMessage

func (s *Service) SendMessage(ctx context.Context, req *pb.SendMessageRequest) (*pb.SendMessageResponse, error)

func (*Service) SetupMailbox

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL