upload

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UploadLogic

type UploadLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

UploadLogic 文件上传

Author: LiuFeiHua Date: 2024/5/27 9:23

func NewUploadLogic

func NewUploadLogic(r *http.Request, ctx context.Context, svcCtx *svc.ServiceContext) *UploadLogic

func (*UploadLogic) Upload

func (l *UploadLogic) Upload() (resp *types.UploadResp, err error)

Upload 文件上传 参考:https://github.com/zeromicro/zero-examples/blob/main/monolithic/internal/logic/uploadlogic.go

Jump to

Keyboard shortcuts

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