Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCallResult ¶
func NewCallResult() callResult
Types ¶
type ContentResult ¶
type ContentResult struct {
// contains filtered or unexported fields
}
ContentResult 返回响应内容
func (ContentResult) ExecuteResult ¶
func (receiver ContentResult) ExecuteResult(httpContext *context.HttpContext)
type FileContentResult ¶
type FileContentResult struct {
// contains filtered or unexported fields
}
FileContentResult 返回文件内容
func (FileContentResult) ExecuteResult ¶
func (receiver FileContentResult) ExecuteResult(httpContext *context.HttpContext)
type IResult ¶
type IResult interface {
ExecuteResult(httpContext *context.HttpContext)
}
type ImageResult ¶ added in v0.9.0
type ImageResult struct {
// contains filtered or unexported fields
}
ImageResult 处理图片
func (*ImageResult) ExecuteResult ¶ added in v0.9.0
func (receiver *ImageResult) ExecuteResult(httpContext *context.HttpContext)
type RedirectToRouteResult ¶
type RedirectToRouteResult struct {
// contains filtered or unexported fields
}
RedirectToRouteResult 重定向功能
func (RedirectToRouteResult) ExecuteResult ¶
func (receiver RedirectToRouteResult) ExecuteResult(httpContext *context.HttpContext)
type ViewResult ¶
type ViewResult struct {
// contains filtered or unexported fields
}
ViewResult 返回视图功能
func (ViewResult) ExecuteResult ¶
func (receiver ViewResult) ExecuteResult(httpContext *context.HttpContext)
Click to show internal directories.
Click to hide internal directories.