core

package
v0.0.0-...-0768476 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chunk

type Chunk struct {
	Hash   string `json:"hash"`
	Offset int64  `json:"offset"`
	Length uint   `json:"length"`
}

type File

type File struct {
	Name   string  `json:"name"`
	Chunks []Chunk `json:"chunks"`
}

type Message

type Message struct {
	Expired  string   `json:"expired" validate:"date"`
	Password string   `json:"password" validate:"required"`
	Emails   []string `json:"emails"`
	Files    []File   `json:"files"`
}

type ReqRm

type ReqRm struct {
	Space string
	Files []string
}

type ResChunk

type ResChunk struct {
	Hash   string `json:"hash"`
	Offset int64  `json:"offset"`
	Length uint   `json:"length"`
	URL    string `json:"url"`
	File   string
}

Jump to

Keyboard shortcuts

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