request

package
v0.0.0-...-e09cdd1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthJWT

type AuthJWT struct {
	ProjectID string `json:"project_id"`
	Account   string `json:"account"`
}

type Delete

type Delete struct {
	Bucket string `json:"bucket" binding:"required"`
	Key    string `json:"key" binding:"required"`
}

type Equals

type Equals struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type Query

type Query struct {
	Bucket string   `json:"bucket" binding:"required"`
	Key    string   `json:"key"`
	Search string   `json:"search"`
	Limit  int      `json:"limit"`
	Offset int      `json:"offset"`
	Equals []Equals `json:"equals"`
}

type Storage

type Storage struct {
	Bucket  string         `json:"bucket" binding:"required"`
	Key     string         `json:"key" binding:"required"`
	Search  string         `json:"search"`
	Payload models.JSONMap `json:"payload"`
}

type Update

type Update struct {
	Bucket  string         `json:"bucket" binding:"required"`
	Key     string         `json:"key" binding:"required"`
	Payload models.JSONMap `json:"payload"`
}

type UserLogin

type UserLogin struct {
	ProjectID string `json:"project_id"`
	Account   string `json:"account"`
	Password  string `json:"password"`
}

Jump to

Keyboard shortcuts

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