request

package
v0.0.0-...-56fefa2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 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 Answer

type Answer struct {
	Text        *string
	ImageUrl    *string
	AccessToken string
}

type ChangePassword

type ChangePassword struct {
	OldPassword string `json:"oldPassword"`
	NewPassword string `json:"newPassword"`
}

type ChangeProfile

type ChangeProfile struct {
	Name        string `json:"name"`
	Group       string `json:"group"`
	Password    string `json:"password"`
	Telegram    string `json:"telegram"`
	VK          string `json:"vk"`
	Email       string `json:"email"`
	PhoneNumber string `json:"phone_number"`
}

type ChangeTeam

type ChangeTeam struct {
	Session  string `json:"session"`
	TeamName string `json:"name"`
}

type DeleteFromTeam

type DeleteFromTeam struct {
	Session string `json:"session"`
	UserID  string `json:"id"`
}

type DeleteTeam

type DeleteTeam struct {
	Session string `json:"session"`
}

type GetAnswers

type GetAnswers struct {
	AccessToken string
}

type GetTask

type GetTask struct {
	AccessToken string
}

type GetTaskTypes

type GetTaskTypes struct {
	AccessToken string
}

type GetTeam

type GetTeam struct {
	Session string `json:"session"`
}

type InviteToTeam

type InviteToTeam struct {
	Session string `json:"session"`
	UserID  string `json:"id"`
}

type Login

type Login struct {
	Email         string `json:"email"`
	Password      string `json:"password"`
	ClientBrowser string `json:"client_browser"`
	ClientOS      string `json:"client_os"`
}

Login Структура запроса входа в аккаунт

type Logout

type Logout struct {
	AccessToken string
}

Logout Структура запроса выхода из аккаунта

type Register

type Register struct {
	Name          string `json:"name"`
	Group         string `json:"group"`
	Email         string `json:"email"`
	Password      string `json:"password"`
	Telegram      string `json:"telegram"`
	VK            string `json:"vk"`
	PhoneNumber   string `json:"phone_number"`
	ClientBrowser string `json:"client_browser"`
	ClientOS      string `json:"client_os"`
}

Register Структура запроса регистрации

type RegisterTeam

type RegisterTeam struct {
	Session  string `json:"session"`
	TeamName string `json:"name"`
}

RegisterTeam Структура запроса регистрации команды

type TakeTask

type TakeTask struct {
	TaskTypeId  string `json:"taskTypeId"`
	AccessToken string
}

type UpdateMember

type UpdateMember struct {
	Session string `json:"session"`
	UserID  string `json:"id"`
	RoleID  int    `json:"roleid"`
}

type UploadPhoto

type UploadPhoto struct {
	AccessToken string
	Base64Photo string
}

Jump to

Keyboard shortcuts

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