Documentation ¶
Index ¶
- type AddAccessibilityFeaturesByReviewIDInputDTO
- type AddFavoritesInputDTO
- type AuthenticateJwtUserInputDTO
- type AuthenticateJwtUserOutputDTO
- type CreatePlaceInputDTO
- type CreateReviewInputDTO
- type CreateUserInputDTO
- type DeleteFavoriteByUserIdAndPlaceIdInputDTO
- type DeletePlaceByIDInputDTO
- type DeleteReviewByIDInputDTO
- type DeleteUserByIdInputDTO
- type FindFavoritesByUserIdInputDTO
- type FindFavoritesByUserIdOutputDTO
- type FindNearbyPlacesInputDTO
- type FindNearbyPlacesOutputDTO
- type FindPlaceByIDInputDTO
- type FindPlaceByIDOutputDTO
- type FindPlacesByAccessibilityFeatureInputDTO
- type FindPlacesByAccessibilityFeatureOutputDTO
- type FindReviewByIDInputDTO
- type FindReviewByIDOutputDTO
- type FindReviewsByPlaceIDInputDTO
- type FindReviewsByPlaceIDOutputDTO
- type FindReviewsByUserIDInputDTO
- type FindReviewsByUserIDOutputDTO
- type FindUserByEmailInputDTO
- type FindUserByEmailOutputDTO
- type FindUserByIDInputDTO
- type FindUserByIDOutputDTO
- type ListAllUsersOutputDTO
- type UpdatePlaceByIDInputDTO
- type UpdateReviewByIDInputDTO
- type UpdateUserInputDTO
- type UpdateUserPointsByUserIDInputDTO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddFavoritesInputDTO ¶
type AuthenticateJwtUserOutputDTO ¶
type AuthenticateJwtUserOutputDTO struct {
Token string `json:"token"`
}
type CreatePlaceInputDTO ¶
type CreatePlaceInputDTO struct { GooglePlaceId string `json:"GooglePlaceId"` Name string `json:"name"` FormatedAddress string `json:"formatedAddress"` Lat float64 `json:"lat"` Lng float64 `json:"lng"` Icon string `json:"icon"` Types []string `json:"types"` OpeningPeriods []string `json:"openingPeriods"` }
type CreateReviewInputDTO ¶
type CreateUserInputDTO ¶
type DeletePlaceByIDInputDTO ¶
type DeletePlaceByIDInputDTO struct {
ID string `json:"id"`
}
type DeleteReviewByIDInputDTO ¶
type DeleteReviewByIDInputDTO struct {
ID string
}
type DeleteUserByIdInputDTO ¶
type DeleteUserByIdInputDTO struct {
UserId string `json:"userId"`
}
type FindFavoritesByUserIdInputDTO ¶
type FindFavoritesByUserIdInputDTO struct {
UserId string `json:"userId"`
}
type FindFavoritesByUserIdOutputDTO ¶
type FindFavoritesByUserIdOutputDTO struct {
PlaceId string `json:"placeId"`
}
type FindNearbyPlacesOutputDTO ¶
type FindNearbyPlacesOutputDTO struct { ID string `json:"id"` Name string `json:"name"` FormatedAddress string `json:"formatedAddress"` Lat float64 `json:"lat"` Lng float64 `json:"lng"` Icon string `json:"icon"` Types []string `json:"types"` OpeningPeriods []string `json:"openingPeriods"` Photos []entity.Photo `json:"photo"` Rating float64 `json:"rating"` }
type FindPlaceByIDInputDTO ¶
type FindPlaceByIDInputDTO struct {
ID string `json:"id"`
}
type FindPlaceByIDOutputDTO ¶
type FindPlaceByIDOutputDTO struct { ID string `json:"id"` Name string `json:"name"` FormatedAddress string `json:"formatedAddress"` Lat float64 `json:"lat"` Lng float64 `json:"lng"` Icon string `json:"icon"` Types []string `json:"types"` OpeningPeriods []string `json:"openingPeriods"` Photos []entity.Photo `json:"photo"` Rating float64 `json:"rating"` }
type FindPlacesByAccessibilityFeatureInputDTO ¶
type FindPlacesByAccessibilityFeatureInputDTO struct {
AccessibilityFeature string `json:"accessibilityFeature"`
}
type FindPlacesByAccessibilityFeatureOutputDTO ¶
type FindPlacesByAccessibilityFeatureOutputDTO struct { ID string `json:"id"` Name string `json:"name"` FormatedAddress string `json:"formatedAddress"` Lat float64 `json:"lat"` Lng float64 `json:"lng"` Icon string `json:"icon"` Types []string `json:"types"` OpeningPeriods []string `json:"openingPeriods"` Photos []entity.Photo `json:"photo"` Rating float64 `json:"rating"` }
type FindReviewByIDInputDTO ¶
type FindReviewByIDInputDTO struct {
Id string
}
type FindReviewByIDOutputDTO ¶
type FindReviewByIDOutputDTO struct { ID string `json:"id"` PlaceID string `json:"placeId"` UserID string `json:"userId"` Content string `json:"content"` Photos []entity.Photo `json:"photos"` Rating float64 `json:"rating"` Reactions []entity.Reaction `json:"reactions"` AccessibilityFeatures []string `json:"accessibilityFeatures"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
type FindReviewsByPlaceIDOutputDTO ¶
type FindReviewsByPlaceIDOutputDTO struct { ID string `json:"id"` PlaceID string `json:"placeId"` UserID string `json:"userId"` Content string `json:"content"` Photos []entity.Photo `json:"photos"` Rating float64 `json:"rating"` Reactions []entity.Reaction `json:"reactions"` AccessibilityFeatures []string `json:"accessibilityFeatures"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
type FindReviewsByUserIDOutputDTO ¶
type FindReviewsByUserIDOutputDTO struct { ID string `json:"id"` PlaceID string `json:"placeId"` UserID string `json:"userId"` Content string `json:"content"` Photos []entity.Photo `json:"photos"` Rating float64 `json:"rating"` Reactions []entity.Reaction `json:"reactions"` AccessibilityFeatures []string `json:"accessibilityFeatures"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
type FindUserByEmailInputDTO ¶
type FindUserByEmailInputDTO struct {
Email string `json:"email"`
}
type FindUserByEmailOutputDTO ¶
type FindUserByEmailOutputDTO struct { ID string `json:"id"` Email string `json:"email"` Username string `json:"username"` Avatar []byte `json:"avatar"` Points int `json:"points"` Missions []entity.Mission `json:"missions"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
type FindUserByIDInputDTO ¶
type FindUserByIDInputDTO struct {
UserId string `json:"userId"`
}
type FindUserByIDOutputDTO ¶
type FindUserByIDOutputDTO struct { ID string `json:"id"` Email string `json:"email"` Username string `json:"username"` Avatar []byte `json:"avatar"` Points int `json:"points"` Missions []entity.Mission `json:"missions"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
type ListAllUsersOutputDTO ¶
type UpdatePlaceByIDInputDTO ¶
type UpdatePlaceByIDInputDTO struct { PlaceToUpadteID string `json:"id"` GooglePlaceId string `json:"googlePlaceId"` Name string `json:"name"` FormatedAddress string `json:"formatedAddress"` Lat float64 `json:"lat"` Lng float64 `json:"lng"` Icon string `json:"icon"` Types []string `json:"types"` OpeningPeriods []string `json:"openingPeriods"` Photos []entity.Photo `json:"photos"` }
type UpdateUserInputDTO ¶
type UpdateUserInputDTO struct { UserId string `json:"userId"` Email string `json:"email"` Avatar []byte `json:"avatar"` Username string `json:"username"` Password string `json:"password"` Points int `json:"points"` Missions []entity.Mission `json:"missions"` UpdatedAt time.Time `json:"updatedAt"` }
Click to show internal directories.
Click to hide internal directories.