Versions in this module Expand all Collapse all v1 v1.0.9 Sep 5, 2025 v1.0.8 Sep 5, 2025 v1.0.7 Jul 16, 2025 v1.0.6 Jun 10, 2025 v1.0.5 Jun 9, 2025 v1.0.4 Jun 9, 2025 v1.0.3 Jun 5, 2025 v1.0.2 Jun 5, 2025retracted v1.0.1 Jun 5, 2025retracted v1.0.0 Jun 1, 2025 Changes in this version + const ReadBufferSize + var ErrInternal = errors.New("internal error") + var ErrorHandler = func(c *fiber.Ctx, err error) error + func NewFiberApp(name string) *fiber.App + type Chain func(h fiber.Handler) fiber.Handler + type ErrorResponse struct + Code int + Message string + func (v *ErrorResponse) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ErrorResponse) UnmarshalJSON(data []byte) error + func (v ErrorResponse) MarshalEasyJSON(w *jwriter.Writer) + func (v ErrorResponse) MarshalJSON() ([]byte, error) + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + type Middleware struct + func NewMiddleware(c ...Chain) *Middleware + func (m *Middleware) AddChain(c Chain) + func (m *Middleware) Copy() *Middleware + func (m *Middleware) Merge(middlewares ...*Middleware) + func (m *Middleware) Then(h fiber.Handler) fiber.Handler + type Pagination struct + Page int + Pages int + PerPage int + Total int + func (v *Pagination) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Pagination) UnmarshalJSON(data []byte) error + func (v Pagination) MarshalEasyJSON(w *jwriter.Writer) + func (v Pagination) MarshalJSON() ([]byte, error) + type Response struct + Data interface{} + Error *ErrorResponse + Ok bool + Pagination *Pagination + func GetResponseWithError(err error, code int) *Response + func GetSuccessResponse(data interface{}) *Response + func GetSuccessResponseList(data interface{}, total, page, perPage int) *Response + func (v *Response) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Response) UnmarshalJSON(data []byte) error + func (v Response) MarshalEasyJSON(w *jwriter.Writer) + func (v Response) MarshalJSON() ([]byte, error)