Documentation ¶
Index ¶
- type PartnershipRequestServer
- func (server PartnershipRequestServer) CreatePartnershipRequestHandler(w http.ResponseWriter, r *http.Request)
- func (server PartnershipRequestServer) DeletePartnershipRequestHandler(w http.ResponseWriter, r *http.Request)
- func (server PartnershipRequestServer) SearchPartnershipRequestHandler(w http.ResponseWriter, r *http.Request)
- func (server PartnershipRequestServer) UpdatePartnershipRequestHandler(w http.ResponseWriter, r *http.Request)
- type PartnershipRequestStatusServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PartnershipRequestServer ¶
type PartnershipRequestServer struct { auth.IAuthenticationStrategy businesslogic.IAccountRepository businesslogic.IPartnershipRepository businesslogic.IPartnershipRequestRepository businesslogic.IPartnershipRequestBlacklistRepository }
PartnershipRequestServer serves requests that are related to Partnership Requests
func (PartnershipRequestServer) CreatePartnershipRequestHandler ¶
func (server PartnershipRequestServer) CreatePartnershipRequestHandler(w http.ResponseWriter, r *http.Request)
CreatePartnershipRequestHandler handles the request:
POST /athlete/partnership/request
which allows user to submit a new partnership request
func (PartnershipRequestServer) DeletePartnershipRequestHandler ¶
func (server PartnershipRequestServer) DeletePartnershipRequestHandler(w http.ResponseWriter, r *http.Request)
DeletePartnershipRequestHandler handles the request
DELETE /api/v1.0/partnership
func (PartnershipRequestServer) SearchPartnershipRequestHandler ¶
func (server PartnershipRequestServer) SearchPartnershipRequestHandler(w http.ResponseWriter, r *http.Request)
GET /api/partnership/request Get a list of received partnership requests
func (PartnershipRequestServer) UpdatePartnershipRequestHandler ¶
func (server PartnershipRequestServer) UpdatePartnershipRequestHandler(w http.ResponseWriter, r *http.Request)
UpdatePartnershipRequestHandler handles the request
PUT /api/partnership/request
type PartnershipRequestStatusServer ¶
type PartnershipRequestStatusServer struct {
businesslogic.IPartnershipRequestStatusRepository
}
func (PartnershipRequestStatusServer) GetPartnershipRequestStatusHandler ¶
func (server PartnershipRequestStatusServer) GetPartnershipRequestStatusHandler(w http.ResponseWriter, r *http.Request)
GET /api/partnership/status
Click to show internal directories.
Click to hide internal directories.