request

package
v0.0.0-...-31ddaea Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceTokenCreateRequest

type DeviceTokenCreateRequest struct {
	Token  string `json:"token" validate:"required"`
	OsName string `json:"os_name" validate:"required"`
}

type NotificationQueryParams

type NotificationQueryParams struct {
	Search  string `query:"search"`
	Page    int    `query:"page" default:"1"`
	PerPage int    `query:"per_page" default:"10"`
}

type TemplateCreateRequest

type TemplateCreateRequest struct {
	Name string      `json:"name" validate:"required|min:3"`
	Data interface{} `json:"data" validate:"required"`
}

Jump to

Keyboard shortcuts

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