package
0.1.8
Repository: https://github.com/sagoo-cloud/nexframe.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CustomError 是一个辅助函数,用于在控制器中返回自定义错误.
GetContextValue 辅助函数,用于在控制器中获取上下文值.
NewAPIFramework 创建新的APIFramework实例.
NewErrorResponse 创建一个新的ErrorResponse.
RequestFromCtx retrieves and returns the Request object from context.

# Variables

DefaultFileConfig 默认文件上传配置.

# Structs

APIDefinition 定义API结构.
APIFramework 核心框架结构.
No description provided by the author
ErrorResponse 定义了统一的错误响应结构.
FileConfig 文件上传配置.
FileField 定义文件字段的配置.
UploadedFile 表示上传的文件.
WeaverContext 包含 ServiceWeaver 相关的上下文.

# Interfaces

Controller 接口定义控制器的基本结构.