Documentation ¶
Index ¶
- type HttpCodeResult
- type IApiResult
- type JsonResult
- type JsonpResult
- type LMap
- func (m *LMap[T]) Clear()
- func (m *LMap[T]) Each(f func(key any, val T) bool)
- func (m *LMap[T]) Get(index int) *T
- func (m *LMap[T]) Has(key any) bool
- func (m *LMap[T]) Keys() []any
- func (m *LMap[T]) Len() int
- func (m *LMap[T]) MarshalJSON() ([]byte, error)
- func (m *LMap[T]) Put(key any, val T) *LMap[T]
- func (m *LMap[T]) Remove(key any)
- func (m *LMap[T]) Set(k any, v T) bool
- func (m *LMap[T]) String() string
- func (m *LMap[T]) UnmarshalJSON(value []byte) error
- func (m *LMap[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 LMap ¶
type LMap[T any] struct { // contains filtered or unexported fields }
LMap 自定义有序Map类型
func (*LMap[T]) MarshalJSON ¶
func (*LMap[T]) UnmarshalJSON ¶
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.