package
0.1.0
Repository: https://github.com/jphacks/b_2121_server.git
Documentation: pkg.go.dev

# Functions

GetSwagger returns the Swagger specification corresponding to the generated code in this file.
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
RegisterHandlers adds each server route to the EchoRouter.
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.

# Constants

Defines values for AuthVendor.
Defines values for AuthVendor.
Defines values for AuthVendor.
No description provided by the author

# Structs

Add a restaurant to a community.
AuthInfo defines model for authInfo.
Private comments for a restaurant.
Goyotashi community.
CreateCommunityRequest defines model for createCommunityRequest.
CreateUserRequest defines model for createUserRequest.
CreateUserResponse defines model for createUserResponse.
GetCommunityIdTokenResponse defines model for getCommunityIdTokenResponse.
GetOtherCommunityResponse defines model for getOtherCommunityResponse.
GetRestaurantIdOtherParams defines parameters for GetRestaurantIdOther.
JoinCommunityRequest defines model for joinCommunityRequest.
ListCommunityRestaurantsParams defines parameters for ListCommunityRestaurants.
ListCommunityRestaurantsResponse defines model for listCommunityRestaurantsResponse.
ListCommunityUsersResponse defines model for listCommunityUsersResponse.
ListUserBookmarkResponse defines model for listUserBookmarkResponse.
ListUserCommunitiesParams defines parameters for ListUserCommunities.
ListUserCommunityResponse defines model for listUserCommunityResponse.
ListUsersOfCommunityParams defines parameters for ListUsersOfCommunity.
Location defines model for location.
PageInfo defines model for pageInfo.
PostUserIdBookmarkJSONBody defines parameters for PostUserIdBookmark.
PutUserMeRequest defines model for putUserMeRequest.
Restaurant.
SearchCommunitiesParams defines parameters for SearchCommunities.
SearchCommunityResponse defines model for searchCommunityResponse.
SearchRestaurantResponse defines model for searchRestaurantResponse.
SearchRestaurantsParams defines parameters for SearchRestaurants.
ServerInterfaceWrapper converts echo contexts to parameters.
Update private comments for a restaurant.
UpdateCommunityJSONBody defines parameters for UpdateCommunity.
UploadImageProfileResponse defines model for uploadImageProfileResponse.
Reperesents user.
UserDetail defines model for userDetail.

# Interfaces

This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration.
ServerInterface represents all server handlers.

# Type aliases

AddRestaurantToCommunityJSONBody defines parameters for AddRestaurantToCommunity.
AddRestaurantToCommunityJSONRequestBody defines body for AddRestaurantToCommunity for application/json ContentType.
AuthVendor defines model for authVendor.
Long defines model for long.
NewCommunityJSONBody defines parameters for NewCommunity.
NewCommunityJSONRequestBody defines body for NewCommunity for application/json ContentType.
NewUserJSONBody defines parameters for NewUser.
NewUserJSONRequestBody defines body for NewUser for application/json ContentType.
PageQuery defines model for pageQuery.
PostUserIdBookmarkJSONRequestBody defines body for PostUserIdBookmark for application/json ContentType.
PostUserMeCommunitiesJSONBody defines parameters for PostUserMeCommunities.
PostUserMeCommunitiesJSONRequestBody defines body for PostUserMeCommunities for application/json ContentType.
PutUserMeJSONBody defines parameters for PutUserMe.
PutUserMeJSONRequestBody defines body for PutUserMe for application/json ContentType.
UpdateCommunityJSONRequestBody defines body for UpdateCommunity for application/json ContentType.
UpdateRestaurantCommentJSONBody defines parameters for UpdateRestaurantComment.
UpdateRestaurantCommentJSONRequestBody defines body for UpdateRestaurantComment for application/json ContentType.