request

package
v0.0.0-...-0964d17 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 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 CultivationsDeleteByID

type CultivationsDeleteByID struct {
	CultivationID int `param:"id"`
}

type CultivationsGetByID

type CultivationsGetByID struct {
	CultivationID int `param:"id"`
}

type CultivationsPutByID

type CultivationsPutByID struct {
	CultivationID int    `param:"id"`
	NickName      string `json:"nick_name"`
}

type IotSensorsPost

type IotSensorsPost struct {
	UserID        int             `json:"user_id"`
	RaspiDeviceID int             `json:"raspi_device_id"`
	Data          []iotSensorData `json:"data"`
}

type PlantDeleteById

type PlantDeleteById struct {
	PlantID int `param:"id"`
}

type PlantGet

type PlantGet struct{}

type PlantGetById

type PlantGetById struct {
	PlantID int `param:"id"`
}

type PlantPost

type PlantPost struct {
	Name string `json:"name"`
}

type PlantPutById

type PlantPutById struct {
	PlantID int    `param:"id"`
	Name    string `json:"name"`
}

type UserCultivationsDeleteByID

type UserCultivationsDeleteByID struct {
	CultivationID int `param:"id"`
}

type UserCultivationsGetByID

type UserCultivationsGetByID struct {
	CultivationID int `param:"id"`
}

type UserCultivationsPost

type UserCultivationsPost struct {
	PlantID  int    `json:"plant_id"`
	NickName string `json:"nick_name"`
}

type UserCultivationsPutByID

type UserCultivationsPutByID struct {
	CultivationID int    `param:"id"`
	NickName      string `json:"nick_name"`
}

type UserDelete

type UserDelete struct{}

type UserGet

type UserGet struct{}

type UserPut

type UserPut struct {
	Name string `json:"name"`
}

type UsersCultivationsGet

type UsersCultivationsGet struct {
	UserID int `param:"id"`
}

type UsersCultivationsPost

type UsersCultivationsPost struct {
	UserID   int    `param:"id"`
	PlantID  int    `json:"plant_id"`
	NickName string `json:"nick_name"`
}

type UsersDeleteByID

type UsersDeleteByID struct {
	UserID int `param:"id"`
}

type UsersGet

type UsersGet struct{}

type UsersGetByID

type UsersGetByID struct {
	UserID int `param:"id"`
}

type UsersPost

type UsersPost struct {
	Name string `json:"name"`
}

type UsersPutByID

type UsersPutByID struct {
	UserID int    `param:"id"`
	Name   string `json:"name"`
}

Jump to

Keyboard shortcuts

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