commonrequests

package
v0.0.0-...-724610a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Paginate

type Paginate struct {
	Page  int `form:"page" json:"page"`
	Limit int `form:"limit" json:"limit"`
}

func (*Paginate) Attributes

func (r *Paginate) Attributes(ctx http.Context) map[string]string

func (*Paginate) Authorize

func (r *Paginate) Authorize(ctx http.Context) error

func (*Paginate) Filters

func (r *Paginate) Filters(ctx http.Context) map[string]string

func (*Paginate) Messages

func (r *Paginate) Messages(ctx http.Context) map[string]string

func (*Paginate) PrepareForValidation

func (r *Paginate) PrepareForValidation(ctx http.Context, data validation.Data) error

func (*Paginate) Rules

func (r *Paginate) Rules(ctx http.Context) map[string]string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL