package
Version:
v0.0.0-...-834ce46
Opens a new window with list of versions in this module.
Published: Nov 27, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CreateRequest struct {
UserID string `json:"-"`
Name string `json:"name" example:"name"`
Description string `json:"description" example:"description"`
}
type CreateResponse struct {
Project entity.Project `json:"project"`
}
type CreateThoughChannel struct {
UserID string `json:"user_id"`
Name string `json:"name"`
Description string `json:"description"`
}
type DeleteRequest struct {
UserID string `json:"-"`
ProjectID string `json:"-" param:"projectID"`
}
type DeleteResponse struct {
Message string `json:"message"`
}
type GetRequest struct {
UserID string `json:"-"`
ProjectID string `json:"-" param:"projectID"`
}
type GetResponse struct {
Project entity.Project `json:"project"`
}
type ListRequest struct {
UserID string
LastTokenID string `query:"last_token_id"`
PerPage int `query:"per_page"`
}
type ListResponse struct {
Projects []entity.Project `json:"projects"`
LastTokenID string `json:"last_token"`
PerPage int `json:"per_page"`
HasMore bool `json:"has_more"`
}
type UpdateRequest struct {
UserID string `json:"-"`
ProjectID string `json:"-" param:"projectID"`
Name string `json:"name" example:"name"`
Description string `json:"description" example:"description"`
}
type UpdateResponse struct {
Project entity.Project `json:"project"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.