Help us shape the future of Go! Take the 2026 Go Developer Survey

chunk

package
v0.30.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChunkUpload

func ChunkUpload(ctx context.Context, c *app.RequestContext)

ChunkUpload . @router /chunk/upload/chunk/:upload_id/:chunk_index [POST]

func ChunkUploadCancel

func ChunkUploadCancel(ctx context.Context, c *app.RequestContext)

ChunkUploadCancel . @router /chunk/upload/cancel/:upload_id [DELETE]

func ChunkUploadComplete

func ChunkUploadComplete(ctx context.Context, c *app.RequestContext)

ChunkUploadComplete . @router /chunk/upload/complete/:upload_id [POST]

func ChunkUploadInit

func ChunkUploadInit(ctx context.Context, c *app.RequestContext)

ChunkUploadInit . @router /chunk/upload/init/ [POST]

func ChunkUploadStatus

func ChunkUploadStatus(ctx context.Context, c *app.RequestContext)

ChunkUploadStatus . @router /chunk/upload/status/:upload_id [GET]

func SetChunkService

func SetChunkService(s *chunkService.Service)

SetChunkService 注入共享的 chunk service 实例(bootstrap 调用,存储随 app service 注入——分片写读合并的物理操作收口 app/chunk/storage.go)。

func SetShareService

func SetShareService(s *shareService.Service)

SetShareService 注入共享的 share service 实例(bootstrap 调用)。 回归(治理 2026-10-03):此前 Complete 建分享走懒加载裸实例, 配额/单次上限/审核注入全部缺失。

Types

This section is empty.

Jump to

Keyboard shortcuts

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