Documentation
¶
Index ¶
- type HttpCodeResult
- type IApiResult
- type JsonMap
- type JsonResult
- type JsonpResult
- type LMap
- func (m *LMap[T]) Clear()
- func (m *LMap[T]) Each(f func(key string, val T) bool)
- func (m *LMap[T]) Get(index int) (rt T)
- func (m *LMap[T]) Has(key string) bool
- func (m *LMap[T]) Keys() []string
- func (m *LMap[T]) Len() int
- func (m *LMap[T]) MarshalJSON() ([]byte, error)
- func (m *LMap[T]) Put(key string, val T) *LMap[T]
- func (m *LMap[T]) Remove(key string)
- func (m *LMap[T]) Set(k string, 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
type IApiResult ¶
type JsonMap ¶ added in v2.0.7
JsonMap 自定义有序Map类型
type JsonResult ¶
type JsonResult struct {
// contains filtered or unexported fields
}
func (*JsonResult) Body ¶
func (r *JsonResult) Body() error
type JsonpResult ¶
type JsonpResult struct {
// contains filtered or unexported fields
}
func (*JsonpResult) Body ¶
func (r *JsonpResult) Body() error
type NullResult ¶
type NullResult struct {
// contains filtered or unexported fields
}
func (*NullResult) Body ¶
func (r *NullResult) Body() error
type RedirectResult ¶
type RedirectResult struct {
// contains filtered or unexported fields
}
func (*RedirectResult) Body ¶
func (r *RedirectResult) Body() error
type StringResult ¶
type StringResult struct {
// contains filtered or unexported fields
}
func (*StringResult) Body ¶
func (r *StringResult) Body() error
type ViewResult ¶
type ViewResult struct {
ViewName string
// contains filtered or unexported fields
}
func (*ViewResult) Body ¶
func (r *ViewResult) Body() error
Source Files
¶
- api_result.go
- json.go
- map.go
Click to show internal directories.
Click to hide internal directories.