Documentation
¶
Index ¶
- func Create(server chi.Router, campaignService campaignsrv.CampaignService) campaign.CampaignApi
- type CampaignControllerImpl
- func (c *CampaignControllerImpl) CreateCampaign(w http.ResponseWriter, r *http.Request)
- func (c *CampaignControllerImpl) ExecuteCampaign(w http.ResponseWriter, r *http.Request)
- func (c *CampaignControllerImpl) GetCampaign(w http.ResponseWriter, r *http.Request)
- func (c *CampaignControllerImpl) SetupRoutes(server chi.Router)
- func (c *CampaignControllerImpl) UpdateCampaign(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(server chi.Router, campaignService campaignsrv.CampaignService) campaign.CampaignApi
Types ¶
type CampaignControllerImpl ¶
type CampaignControllerImpl struct {
// contains filtered or unexported fields
}
func (*CampaignControllerImpl) CreateCampaign ¶
func (c *CampaignControllerImpl) CreateCampaign(w http.ResponseWriter, r *http.Request)
func (*CampaignControllerImpl) ExecuteCampaign ¶
func (c *CampaignControllerImpl) ExecuteCampaign(w http.ResponseWriter, r *http.Request)
func (*CampaignControllerImpl) GetCampaign ¶
func (c *CampaignControllerImpl) GetCampaign(w http.ResponseWriter, r *http.Request)
func (*CampaignControllerImpl) SetupRoutes ¶
func (c *CampaignControllerImpl) SetupRoutes(server chi.Router)
func (*CampaignControllerImpl) UpdateCampaign ¶
func (c *CampaignControllerImpl) UpdateCampaign(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.