Documentation ¶
Index ¶
- Variables
- type Service
- func (s *Service) Archive(ctx context.Context, req *pb.ArchiveRequest) (*pb.ArchiveReply, error)
- func (s *Service) ArchiveInfo(ctx context.Context, req *pb.ArchiveInfoRequest) (*pb.ArchiveInfoReply, error)
- func (s *Service) ArchiveStatus(ctx context.Context, req *pb.ArchiveStatusRequest) (*pb.ArchiveStatusReply, error)
- func (s *Service) ArchiveWatch(req *pb.ArchiveWatchRequest, server pb.API_ArchiveWatchServer) error
- func (s *Service) Init(ctx context.Context, req *pb.InitRequest) (*pb.InitReply, error)
- func (s *Service) Links(ctx context.Context, req *pb.LinksRequest) (*pb.LinksReply, error)
- func (s *Service) List(ctx context.Context, _ *pb.ListRequest) (*pb.ListReply, error)
- func (s *Service) ListPath(ctx context.Context, req *pb.ListPathRequest) (*pb.ListPathReply, error)
- func (s *Service) PullPath(req *pb.PullPathRequest, server pb.API_PullPathServer) error
- func (s *Service) PushPath(server pb.API_PushPathServer) error
- func (s *Service) Remove(ctx context.Context, req *pb.RemoveRequest) (*pb.RemoveReply, error)
- func (s *Service) RemovePath(ctx context.Context, req *pb.RemovePathRequest) (*pb.RemovePathReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrArchivingFeatureDisabled = fmt.Errorf("archiving feature is disabled")
)
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { Collections *c.Collections Buckets *bucks.Buckets GatewayURL string IPFSClient iface.CoreAPI IPNSManager *ipns.Manager DNSManager *dns.Manager }
Service is a gRPC service for buckets.
func (*Service) Archive ¶ added in v1.0.4
func (s *Service) Archive(ctx context.Context, req *pb.ArchiveRequest) (*pb.ArchiveReply, error)
func (*Service) ArchiveInfo ¶ added in v1.0.4
func (s *Service) ArchiveInfo(ctx context.Context, req *pb.ArchiveInfoRequest) (*pb.ArchiveInfoReply, error)
func (*Service) ArchiveStatus ¶ added in v1.0.4
func (s *Service) ArchiveStatus(ctx context.Context, req *pb.ArchiveStatusRequest) (*pb.ArchiveStatusReply, error)
func (*Service) ArchiveWatch ¶ added in v1.0.4
func (s *Service) ArchiveWatch(req *pb.ArchiveWatchRequest, server pb.API_ArchiveWatchServer) error
func (*Service) Links ¶
func (s *Service) Links(ctx context.Context, req *pb.LinksRequest) (*pb.LinksReply, error)
func (*Service) ListPath ¶
func (s *Service) ListPath(ctx context.Context, req *pb.ListPathRequest) (*pb.ListPathReply, error)
func (*Service) PullPath ¶
func (s *Service) PullPath(req *pb.PullPathRequest, server pb.API_PullPathServer) error
func (*Service) Remove ¶
func (s *Service) Remove(ctx context.Context, req *pb.RemoveRequest) (*pb.RemoveReply, error)
func (*Service) RemovePath ¶
func (s *Service) RemovePath(ctx context.Context, req *pb.RemovePathRequest) (*pb.RemovePathReply, error)
Click to show internal directories.
Click to hide internal directories.