request

package
Version: v0.0.0-...-99b79bc Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PartnershipRequestServer

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

Jump to

Keyboard shortcuts

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