organizer

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: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompetitionOfficialInvitationServer

func (CompetitionOfficialInvitationServer) OrganizerCreateCompetitionOfficialInvitationHandler

func (server CompetitionOfficialInvitationServer) OrganizerCreateCompetitionOfficialInvitationHandler(w http.ResponseWriter, r *http.Request)

POST /api/v1/organizer/competition/official/invitation

func (CompetitionOfficialInvitationServer) OrganizerGetCompetitionOfficialInvitationHandler

func (server CompetitionOfficialInvitationServer) OrganizerGetCompetitionOfficialInvitationHandler(w http.ResponseWriter, r *http.Request)

GET /api/v1/organizer/competition/official/invitation

func (CompetitionOfficialInvitationServer) OrganizerUpdateCompetitionOfficialInvitationHandler

func (server CompetitionOfficialInvitationServer) OrganizerUpdateCompetitionOfficialInvitationHandler(w http.ResponseWriter, r *http.Request)

PUT /api/v1/organizer/competition/official/invitation

type OrganizerCompetitionOfficialSearchServer

type OrganizerCompetitionOfficialSearchServer struct {
	auth.IAuthenticationStrategy
	businesslogic.IAccountRepository
	businesslogic.IAccountRoleRepository
}

func (OrganizerCompetitionOfficialSearchServer) SearchEligibleOfficialHandler

func (server OrganizerCompetitionOfficialSearchServer) SearchEligibleOfficialHandler(w http.ResponseWriter, r *http.Request)

SearchEligibleOfficialHandler handles the request

GET /api/v1/organizer/official/eligible

- Authorization: Organizer only

type OrganizerCompetitionServer

func (OrganizerCompetitionServer) OrganizerCreateCompetitionHandler

func (server OrganizerCompetitionServer) OrganizerCreateCompetitionHandler(w http.ResponseWriter, r *http.Request)

POST /api/organizer/competition

func (OrganizerCompetitionServer) OrganizerDeleteCompetitionHandler

func (server OrganizerCompetitionServer) OrganizerDeleteCompetitionHandler(w http.ResponseWriter, r *http.Request)

DELETE /api/organizer/competition

func (OrganizerCompetitionServer) OrganizerSearchCompetitionHandler

func (server OrganizerCompetitionServer) OrganizerSearchCompetitionHandler(w http.ResponseWriter, r *http.Request)

GET /api/organizer/competition

func (OrganizerCompetitionServer) OrganizerUpdateCompetitionHandler

func (server OrganizerCompetitionServer) OrganizerUpdateCompetitionHandler(w http.ResponseWriter, r *http.Request)

PUT /api/organizer/competition

type OrganizerEntryServer

type OrganizerEntryServer struct {
}

func (OrganizerEntryServer) CreateEntryHandler

func (server OrganizerEntryServer) CreateEntryHandler(w http.ResponseWriter, r *http.Request)

func (OrganizerEntryServer) DeleteEntryHandler

func (server OrganizerEntryServer) DeleteEntryHandler(w http.ResponseWriter, r *http.Request)

func (OrganizerEntryServer) SearchEntryHandler

func (server OrganizerEntryServer) SearchEntryHandler(w http.ResponseWriter, r *http.Request)

func (OrganizerEntryServer) UpdateEntryHandler

func (server OrganizerEntryServer) UpdateEntryHandler(w http.ResponseWriter, r *http.Request)

type OrganizerEventServer

type OrganizerEventServer struct {
	Authentication auth.IAuthenticationStrategy
	Service        businesslogic.OrganizerEventService
}

OrganizerEventServer serves requests regarding to event management

func (OrganizerEventServer) CreateCompetitionEventTemplateHanlder

func (server OrganizerEventServer) CreateCompetitionEventTemplateHanlder(w http.ResponseWriter, r *http.Request)

SearchCompetitionEventTemplateHandler handles the request:

POST /api/v1/organizer/event/template

func (OrganizerEventServer) CreateEventHandler

func (server OrganizerEventServer) CreateEventHandler(w http.ResponseWriter, r *http.Request)

CreateEventHandler handles the request:

POST /api/v1.0/organizer/event

func (OrganizerEventServer) DeleteEventHandler

func (server OrganizerEventServer) DeleteEventHandler(w http.ResponseWriter, r *http.Request)

DeleteEventHandler handles the request:

DELETE /api/v1.0/organizer/event

func (OrganizerEventServer) SearchCompetitionEventTemplateHandler

func (server OrganizerEventServer) SearchCompetitionEventTemplateHandler(w http.ResponseWriter, r *http.Request)

SearchCompetitionEventTemplateHandler handles the request:

GET /api/v1/organizer/event/template

func (OrganizerEventServer) SearchEventHandler

func (server OrganizerEventServer) SearchEventHandler(w http.ResponseWriter, r *http.Request)

SearchEventHandler handles the request:

GET /api/v1.0/organizer/event

func (OrganizerEventServer) UpdateEventHandler

func (server OrganizerEventServer) UpdateEventHandler(w http.ResponseWriter, r *http.Request)

UpdateEventHandler handles the request

PUT /api/v1.0/organizer/event

type OrganizerLeadTagServer

type OrganizerLeadTagServer struct {
	// contains filtered or unexported fields
}

OrganizerLeadTagServer is a virtual server that handles request of searching and assigning lead tag

func (OrganizerLeadTagServer) GetAllLeadEntries

func (server OrganizerLeadTagServer) GetAllLeadEntries(w http.ResponseWriter, r *http.Request)

GetAllLeadEntries returns all the leads at the specified competition

type OrganizerProvisionHistoryEntryViewModel

type OrganizerProvisionHistoryEntryViewModel struct {
	OrganizerID       int       `json:"organizer"`
	Allocated         int       `json:"allocated"`
	DateTimeAllocated time.Time `json:"date"`
}

type OrganizerProvisionHistoryServer

func (OrganizerProvisionHistoryServer) GetOrganizerProvisionHistoryHandler

func (server OrganizerProvisionHistoryServer) GetOrganizerProvisionHistoryHandler(w http.ResponseWriter, r *http.Request)

GET /api/organizer/organizer/history

type OrganizerProvisionServer

func (OrganizerProvisionServer) GetOrganizerProvisionSummaryHandler

func (server OrganizerProvisionServer) GetOrganizerProvisionSummaryHandler(w http.ResponseWriter, r *http.Request)

GET /api/organizer/organizer/summary

type SearchOrganizerCompetitionViewModel

type SearchOrganizerCompetitionViewModel struct {
	ID     int  `schema:"id"`
	Future bool `schema:"future"`
}

Jump to

Keyboard shortcuts

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