usersd

package
v2.6.20 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: MIT Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

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