Documentation
¶
Index ¶
- type HttpCodeResult
- type IApiResult
- type JsonResult
- type JsonpResult
- type Map
- func (m *Map[T]) Clear()
- func (m *Map[T]) Each(f func(key string, val T) bool)
- func (m *Map[T]) Get(index int) *T
- func (m *Map[T]) Has(key string) bool
- func (m *Map[T]) Keys() []string
- func (m *Map[T]) Len() int
- func (m *Map[T]) MarshalJSON() ([]byte, error)
- func (m *Map[T]) Put(key string, val any) *Map[T]
- func (m *Map[T]) Remove(key string)
- func (m *Map[T]) Set(k string, v T) bool
- func (m *Map[T]) String() string
- func (m *Map[T]) UnmarshalJSON(value []byte) error
- func (m *Map[T]) Values() []T
- type NullResult
- type RedirectResult
- type StringResult
- type ViewResult
- type XmlResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpCodeResult ¶
type HttpCodeResult struct {
// contains filtered or unexported fields
}
func (*HttpCodeResult) Body ¶
func (r *HttpCodeResult) Body() error
func (*HttpCodeResult) SetContext ¶
func (r *HttpCodeResult) SetContext(ctx *fiber.Ctx)
type IApiResult ¶
type JsonResult ¶
type JsonResult struct {
// contains filtered or unexported fields
}
func (*JsonResult) Body ¶
func (r *JsonResult) Body() error
func (*JsonResult) SetContext ¶
func (r *JsonResult) SetContext(ctx *fiber.Ctx)
type JsonpResult ¶
type JsonpResult struct {
// contains filtered or unexported fields
}
func (*JsonpResult) Body ¶
func (r *JsonpResult) Body() error
func (*JsonpResult) SetContext ¶
func (r *JsonpResult) SetContext(ctx *fiber.Ctx)
type Map ¶ added in v1.1.9
type Map[T any] struct { // contains filtered or unexported fields }
Map 自定义有序Map类型
func (*Map[T]) MarshalJSON ¶ added in v1.2.0
func (*Map[T]) UnmarshalJSON ¶ added in v1.1.9
type NullResult ¶
type NullResult struct {
// contains filtered or unexported fields
}
func (*NullResult) Body ¶
func (r *NullResult) Body() error
func (*NullResult) SetContext ¶
func (r *NullResult) SetContext(ctx *fiber.Ctx)
type RedirectResult ¶
type RedirectResult struct {
// contains filtered or unexported fields
}
func (*RedirectResult) Body ¶
func (r *RedirectResult) Body() error
func (*RedirectResult) SetContext ¶
func (r *RedirectResult) SetContext(ctx *fiber.Ctx)
type StringResult ¶
type StringResult struct {
// contains filtered or unexported fields
}
func (*StringResult) Body ¶
func (r *StringResult) Body() error
func (*StringResult) SetContext ¶
func (r *StringResult) SetContext(ctx *fiber.Ctx)
type ViewResult ¶
type ViewResult struct { ViewName string // contains filtered or unexported fields }
func (*ViewResult) Body ¶
func (r *ViewResult) Body() error
func (*ViewResult) SetContext ¶
func (r *ViewResult) SetContext(ctx *fiber.Ctx)
Click to show internal directories.
Click to hide internal directories.