Documentation
¶
Index ¶
- type S
- func (s *S) CreateTorrentV1(ctx context.Context, req *torrentV1.CreateTorrentV1Request) (*torrentV1.CreateTorrentV1Response, error)
- func (s *S) DownloadTorrentV1(ctx context.Context, req *torrentV1.DownloadTorrentV1Request) (*torrentV1.DownloadTorrentV1Response, error)
- func (s *S) GetTorrentV1(ctx context.Context, req *torrentV1.GetTorrentV1Request) (*torrentV1.GetTorrentV1Response, error)
- func (s *S) GetTorrentV1List(ctx context.Context, req *torrentV1.GetTorrentV1ListRequest) (*torrentV1.GetTorrentV1ListResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S ¶
type S struct { Log *zap.SugaredLogger torrentV1.UnimplementedTorrentServiceServer }
func (*S) CreateTorrentV1 ¶
func (s *S) CreateTorrentV1(ctx context.Context, req *torrentV1.CreateTorrentV1Request) (*torrentV1.CreateTorrentV1Response, error)
func (*S) DownloadTorrentV1 ¶
func (s *S) DownloadTorrentV1(ctx context.Context, req *torrentV1.DownloadTorrentV1Request) (*torrentV1.DownloadTorrentV1Response, error)
func (*S) GetTorrentV1 ¶
func (s *S) GetTorrentV1(ctx context.Context, req *torrentV1.GetTorrentV1Request) (*torrentV1.GetTorrentV1Response, error)
func (*S) GetTorrentV1List ¶
func (s *S) GetTorrentV1List(ctx context.Context, req *torrentV1.GetTorrentV1ListRequest) (*torrentV1.GetTorrentV1ListResponse, error)
Click to show internal directories.
Click to hide internal directories.