Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadSegment ¶
type DownloadServer ¶
type DownloadServer struct {
// contains filtered or unexported fields
}
func (*DownloadServer) Close ¶
func (s *DownloadServer) Close() error
func (*DownloadServer) PreSignDownloadForDatapoints ¶
func (s *DownloadServer) PreSignDownloadForDatapoints(ctx context.Context, log *slog.Logger, request PreSignDownloadForDatapointsRequest) (PreSignDownloadForDatapointsResponse, error)
type PreSignDownloadForDatapointsRequest ¶
type PreSignDownloadForDatapointsRequest struct {
Datas3tName string `json:"datas3t_name"`
FirstDatapoint uint64 `json:"first_datapoint"`
LastDatapoint uint64 `json:"last_datapoint"`
}
func (*PreSignDownloadForDatapointsRequest) Validate ¶
func (r *PreSignDownloadForDatapointsRequest) Validate() error
type PreSignDownloadForDatapointsResponse ¶
type PreSignDownloadForDatapointsResponse struct {
DownloadSegments []DownloadSegment `json:"download_segments"`
}
Click to show internal directories.
Click to hide internal directories.