Documentation ¶
Index ¶
- func Authentication(ctx iris.Context)
- func GetPagination(db *gorm.DB, model interface{}, conditions *npq.NamedParameterQuery, limit int, ...) (map[string]interface{}, error)
- func IsJSON(s string) bool
- func IsSuccessCode(c int) bool
- func NewResponse(ctx iris.Context, code int, content interface{})
- type Detail
- type Filter
- type Messages
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authentication ¶
func GetPagination ¶
func IsSuccessCode ¶
Validation HTTP Status Code Retrun true or false
func NewResponse ¶
Simple json response Handler from kataras/ iris code of HTTP status code Message Body
Types ¶
Click to show internal directories.
Click to hide internal directories.