types

package
v0.0.0-...-ce7cf01 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Code generated by goctl. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetCodeRequest

type GetCodeRequest struct {
	Email string `form:"email"` //用户邮箱
}

type GetCodeResponse

type GetCodeResponse struct {
	Result
}

type GetUserRepostoryByIdRequest

type GetUserRepostoryByIdRequest struct {
	Id int `form:"id"`
}

type GetUserRepostoryByIdResponse

type GetUserRepostoryByIdResponse struct {
	Result
}

type LoginRequest

type LoginRequest struct {
	UserName string `json:"userName"`
	Password string `json:"password"`
}

type LoginResponse

type LoginResponse struct {
	Result
}

type RefreshAuthorizationResponse

type RefreshAuthorizationResponse struct {
	Result
}

type RegisterRequest

type RegisterRequest struct {
	UserName string `json:"userName"`
	Password string `json:"password"`
	Email    string `json:"email"`
	Code     string `json:"code"`
}

type RegisterResponse

type RegisterResponse struct {
	Result
}

type Result

type Result struct {
	Code    int         `json:"code"`
	Data    interface{} `json:"data"`
	Message string      `json:"message"`
}

type ShareBasicCreateRequest

type ShareBasicCreateRequest struct {
	UserRepositoryIdentity string `json:"userRepositoryIdentity"`
	ExpiredTime            int64  `json:"expiredTime"`
}

type ShareBasicCreateResponse

type ShareBasicCreateResponse struct {
	Result
}

type ShareBasicDetailRequest

type ShareBasicDetailRequest struct {
	Identity string `json:"identity"`
}

type ShareBasicDetailResponse

type ShareBasicDetailResponse struct {
	Result
}

type ShareBasicSaveRequest

type ShareBasicSaveRequest struct {
	RepositoryIdentity string `json:"repositoryIdentity"`
	ParentId           int64  `json:"parentId"`
}

type ShareBasicSaveResponse

type ShareBasicSaveResponse struct {
	Result
}

type UploadFileRequest

type UploadFileRequest struct {
	Hash string `json:"hash,optional"`
	Name string `json:"name,optional"`
	Ext  string `json:"ext,optional"`
	Size int64  `json:"size,optional"`
	Path string `json:"path,optional"`
}

type UploadFileResponse

type UploadFileResponse struct {
	Result
}

type UserDeleteFileRequest

type UserDeleteFileRequest struct {
	Identity string `json:"identity,optional";form:"identity"`
}

type UserDeleteFileResponse

type UserDeleteFileResponse struct {
	Result
}

type UserDirCreateRequest

type UserDirCreateRequest struct {
	ParentId int64  `json:"parentId"`
	Name     string `json:"name"`
}

type UserDirCreateResponse

type UserDirCreateResponse struct {
	Result
}

type UserFile

type UserFile struct {
	Id                 int64  `json:"id"`
	ParentId           int64  `json:"parentId";xorm:"parent_id"`
	Type               string `json:"type"`
	Name               string `json:"name"`
	RepositoryIdentity string `json:"repositoryIdentity"`
	Identity           string `json:"identity"`
	Ext                string `json:"ext"`
	Path               string `json:"path"`
}

type UserFileListRequest

type UserFileListRequest struct {
	Id   int64  `form:"id,optional"`
	Page int    `form:"page"`
	Size int    `form:"size"`
	Type string `form:"type"`
}

type UserFileListResponse

type UserFileListResponse struct {
	Result
}

type UserFileMovedRequest

type UserFileMovedRequest struct {
	Identity       string `json:"identity"`
	ParentIdentity string `json:"parentIdentity"`
}

type UserFileMovedResponse

type UserFileMovedResponse struct {
	Result
}

type UserFileNameEditRequest

type UserFileNameEditRequest struct {
	Identity string `json:"identity"`
	Name     string `json:"name"`
}

type UserFileNameEditResponse

type UserFileNameEditResponse struct {
	Result
}

type UserInfoRequest

type UserInfoRequest struct {
}

type UserInfoResponse

type UserInfoResponse struct {
	Result
}

type UserRepositoryLinkRequest

type UserRepositoryLinkRequest struct {
	ParentId           int64  `json:"parentId"`
	RepositoryIdentity string `json:"repositoryIdentity"`
	Ext                string `json:"ext"`
	Name               string `json:"name"`
	Type               string `json:"type"`
}

type UserRepositoryLinkResponse

type UserRepositoryLinkResponse struct {
	Result
}

Jump to

Keyboard shortcuts

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