Documentation ¶
Index ¶
- type BindAbstract
- type BindAddContributor
- type BindAddContributorSuggest
- type BindAdditionalInfo
- type BindConference
- type BindConfirmCreateContributor
- type BindConfirmUpdateContributor
- type BindCreateContributor
- type BindDataset
- type BindDeleteAbstract
- type BindDeleteContributor
- type BindDeleteDataset
- type BindDeleteDepartment
- type BindDeleteFile
- type BindDeleteLaySummary
- type BindDeleteLink
- type BindDeleteProject
- type BindDepartment
- type BindDetails
- type BindEditContributor
- type BindEditContributorSuggest
- type BindFile
- type BindLaySummary
- type BindLink
- type BindMessage
- type BindOrderContributors
- type BindProject
- type BindReviewerNote
- type BindReviewerTags
- type BindSuggestDatasets
- type BindSuggestDepartments
- type BindSuggestProjects
- type BindType
- type BindUpdateContributor
- type Context
- type Handler
- func (h *Handler) AddAbstract(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) AddContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) AddContributorSuggest(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) AddDataset(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) AddDepartment(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) AddLaySummary(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) AddLink(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) AddProject(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmCreateContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmDelete(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmDeleteAbstract(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmDeleteContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmDeleteDataset(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmDeleteDepartment(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmDeleteFile(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmDeleteLaySummary(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmDeleteLink(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmDeleteProject(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmPublish(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmRepublish(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmUpdateContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmUpdateType(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmWithdraw(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) CreateAbstract(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) CreateContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) CreateDataset(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) CreateDepartment(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) CreateLaySummary(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) CreateLink(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) CreateProject(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Delete(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) DeleteAbstract(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) DeleteContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) DeleteDataset(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) DeleteDepartment(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) DeleteFile(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) DeleteLaySummary(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) DeleteLink(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) DeleteProject(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditAbstract(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditAdditionalInfo(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditConference(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditContributorSuggest(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditDetails(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditFile(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditLaySummary(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditLink(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditMessage(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditReviewerNote(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditReviewerTags(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Lock(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) OrderContributors(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Publish(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) RefreshEditFileForm(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) RefreshFiles(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Republish(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) SuggestDatasets(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) SuggestDepartments(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) SuggestProjects(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Unlock(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateAbstract(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateAdditionalInfo(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateConference(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateDetails(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateFile(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateLaySummary(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateLink(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateMessage(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateReviewerNote(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateReviewerTags(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateType(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UploadFile(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Withdraw(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Wrap(fn func(http.ResponseWriter, *http.Request, Context)) http.HandlerFunc
- type YieldAbstracts
- type YieldAddAbstract
- type YieldAddContributor
- type YieldAddContributorSuggest
- type YieldAddDataset
- type YieldAddDepartment
- type YieldAddLaySummary
- type YieldAddLink
- type YieldAddProject
- type YieldAdditionalInfo
- type YieldConference
- type YieldConfirmCreateContributor
- type YieldConfirmDelete
- type YieldConfirmUpdateContributor
- type YieldContributors
- type YieldDatasets
- type YieldDeleteAbstract
- type YieldDeleteContributor
- type YieldDeleteDataset
- type YieldDeleteDepartment
- type YieldDeleteFile
- type YieldDeleteLaySummary
- type YieldDeleteLink
- type YieldDeleteProject
- type YieldDepartments
- type YieldDetails
- type YieldEditAbstract
- type YieldEditAdditionalInfo
- type YieldEditConference
- type YieldEditContributor
- type YieldEditContributorSuggest
- type YieldEditDetails
- type YieldEditFile
- type YieldEditLaySummary
- type YieldEditLink
- type YieldEditMessage
- type YieldEditReviewerNote
- type YieldEditReviewerTags
- type YieldLaySummaries
- type YieldLinks
- type YieldLock
- type YieldProjects
- type YieldPublish
- type YieldRepublish
- type YieldShowFiles
- type YieldUpdateType
- type YieldWithdraw
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindAbstract ¶
type BindAddContributor ¶
type BindAdditionalInfo ¶
type BindConference ¶
type BindCreateContributor ¶
type BindDataset ¶
type BindDataset struct {
DatasetID string `form:"dataset_id"`
}
type BindDeleteAbstract ¶
type BindDeleteContributor ¶
type BindDeleteDataset ¶
type BindDeleteDepartment ¶
type BindDeleteFile ¶
type BindDeleteLaySummary ¶
type BindDeleteLink ¶
type BindDeleteProject ¶
type BindDepartment ¶
type BindDepartment struct {
DepartmentID string `form:"department_id"`
}
type BindDetails ¶
type BindDetails struct { AlternativeTitle []string `form:"alternative_title"` ArticleNumber string `form:"article_number"` ArxivID string `form:"arxiv_id"` Classification string `form:"classification"` ConferenceType string `form:"conference_type"` DefenseDate string `form:"defense_date"` DefensePlace string `form:"defense_place"` DOI string `form:"doi"` Edition string `form:"edition"` EISBN []string `form:"eisbn"` EISSN []string `form:"eissn"` ESCIID string `form:"esci_id"` Extern bool `form:"extern"` HasConfidentialData string `form:"has_confidential_data"` HasPatentApplication string `form:"has_patent_application"` HasPublicationsPlanned string `form:"has_publications_planned"` HasPublishedMaterial string `form:"has_published_material"` ISBN []string `form:"isbn"` ISSN []string `form:"issn"` Issue string `form:"issue"` IssueTitle string `form:"issue_title"` JournalArticleType string `form:"journal_article_type"` Legacy bool `form:"legacy"` Language []string `form:"language"` MiscellaneousType string `form:"miscellaneous_type"` PageCount string `form:"page_count"` PageFirst string `form:"page_first"` PageLast string `form:"page_last"` PlaceOfPublication string `form:"place_of_publication"` Publication string `form:"publication"` PublicationAbbreviation string `form:"publication_abbreviation"` PublicationStatus string `form:"publication_status"` Publisher string `form:"publisher"` PubMedID string `form:"pubmed_id"` ReportNumber string `form:"report_number"` SeriesTitle string `form:"series_title"` Title string `form:"title"` Volume string `form:"volume"` WOSID string `form:"wos_id"` WOSType string `form:"wos_type"` Year string `form:"year"` }
type BindEditContributor ¶
type BindFile ¶
type BindFile struct { FileID string `path:"file_id"` AccessLevel string `query:"access_level" form:"access_level"` License string `query:"license" form:"license"` ContentType string `query:"content_type" form:"content_type"` EmbargoDate string `query:"embargo_date" form:"embargo_date"` AccessLevelAfterEmbargo string `query:"access_level_after_embargo" form:"access_level_after_embargo"` AccessLevelDuringEmbargo string `query:"access_level_during_embargo" form:"access_level_during_embargo"` Name string `query:"name" form:"name"` Size int `query:"size" form:"size"` SHA256 string `query:"sha256" form:"sha256"` OtherLicense string `query:"other_license" form:"other_license"` PublicationVersion string `query:"publication_version" form:"publication_version"` Relation string `query:"relation" form:"relation"` URL string `query:"url" form:"url"` }
type BindLaySummary ¶
type BindMessage ¶
type BindMessage struct {
Message string `form:"message"`
}
type BindOrderContributors ¶
type BindProject ¶
type BindProject struct {
ProjectID string `form:"project_id"`
}
type BindReviewerNote ¶
type BindReviewerNote struct {
ReviewerNote string `form:"reviewer_note"`
}
type BindReviewerTags ¶
type BindReviewerTags struct {
ReviewerTags []string `form:"reviewer_tags"`
}
type BindSuggestDatasets ¶
type BindSuggestDatasets struct {
Query string `query:"q"`
}
type BindSuggestDepartments ¶
type BindSuggestDepartments struct {
Query string `query:"q"`
}
type BindSuggestProjects ¶
type BindSuggestProjects struct {
Query string `query:"q"`
}
type BindUpdateContributor ¶
type Context ¶
type Context struct { handlers.BaseContext Publication *models.Publication }
type Handler ¶
type Handler struct { handlers.BaseHandler Repo *repositories.Repo ProjectSearchService backends.ProjectSearchService ProjectService backends.ProjectService PersonService backends.PersonService PersonSearchService backends.PersonSearchService OrganizationSearchService backends.OrganizationSearchService OrganizationService backends.OrganizationService DatasetSearchIndex backends.DatasetIndex FileStore backends.FileStore MaxFileSize int }
func (*Handler) AddAbstract ¶
func (*Handler) AddContributor ¶
func (*Handler) AddContributorSuggest ¶
func (*Handler) AddDataset ¶
func (*Handler) AddDepartment ¶
func (*Handler) AddLaySummary ¶
func (*Handler) AddProject ¶
func (*Handler) ConfirmCreateContributor ¶
func (*Handler) ConfirmDelete ¶
func (*Handler) ConfirmDeleteAbstract ¶
func (*Handler) ConfirmDeleteContributor ¶
func (*Handler) ConfirmDeleteDataset ¶
func (*Handler) ConfirmDeleteDepartment ¶
func (*Handler) ConfirmDeleteFile ¶
func (*Handler) ConfirmDeleteLaySummary ¶
func (*Handler) ConfirmDeleteLink ¶
func (*Handler) ConfirmDeleteProject ¶
func (*Handler) ConfirmPublish ¶
func (*Handler) ConfirmRepublish ¶
func (*Handler) ConfirmUpdateContributor ¶
func (*Handler) ConfirmUpdateType ¶
func (*Handler) ConfirmWithdraw ¶
func (*Handler) CreateAbstract ¶
func (*Handler) CreateContributor ¶
func (*Handler) CreateDataset ¶
func (*Handler) CreateDepartment ¶
func (*Handler) CreateLaySummary ¶
func (*Handler) CreateLink ¶
func (*Handler) CreateProject ¶
func (*Handler) DeleteAbstract ¶
func (*Handler) DeleteContributor ¶
func (*Handler) DeleteDataset ¶
func (*Handler) DeleteDepartment ¶
func (*Handler) DeleteFile ¶
func (*Handler) DeleteLaySummary ¶
func (*Handler) DeleteLink ¶
func (*Handler) DeleteProject ¶
func (*Handler) EditAbstract ¶
func (*Handler) EditAdditionalInfo ¶
func (*Handler) EditConference ¶
func (*Handler) EditContributor ¶
func (*Handler) EditContributorSuggest ¶
func (*Handler) EditDetails ¶
func (*Handler) EditLaySummary ¶
func (*Handler) EditMessage ¶
func (*Handler) EditReviewerNote ¶
func (*Handler) EditReviewerTags ¶
func (*Handler) OrderContributors ¶
func (*Handler) RefreshEditFileForm ¶
func (*Handler) RefreshFiles ¶
func (*Handler) SuggestDatasets ¶
func (*Handler) SuggestDepartments ¶
func (*Handler) SuggestProjects ¶
func (*Handler) UpdateAbstract ¶
func (*Handler) UpdateAdditionalInfo ¶
func (*Handler) UpdateConference ¶
func (*Handler) UpdateContributor ¶
func (*Handler) UpdateDetails ¶
func (*Handler) UpdateFile ¶
func (*Handler) UpdateLaySummary ¶
func (*Handler) UpdateLink ¶
func (*Handler) UpdateMessage ¶
func (*Handler) UpdateReviewerNote ¶
func (*Handler) UpdateReviewerTags ¶
func (*Handler) UpdateType ¶
func (*Handler) UploadFile ¶
func (*Handler) Wrap ¶
func (h *Handler) Wrap(fn func(http.ResponseWriter, *http.Request, Context)) http.HandlerFunc
type YieldAbstracts ¶
type YieldAbstracts struct {
Context
}
type YieldAddContributor ¶
type YieldAddContributor struct { Context Role string Contributor *models.Contributor Form *form.Form Hits []*models.Contributor }
type YieldAddContributorSuggest ¶
type YieldAddContributorSuggest struct { Context Role string Contributor *models.Contributor Hits []*models.Contributor }
type YieldAddDataset ¶
type YieldAddDataset struct { Context Hits *models.DatasetHits }
type YieldAddDepartment ¶
type YieldAddDepartment struct { Context Hits []models.Completion }
type YieldAddProject ¶
type YieldAddProject struct { Context Hits []models.Completion }
type YieldAdditionalInfo ¶
type YieldConference ¶
type YieldConfirmDelete ¶
type YieldConfirmDelete struct { Context Publication *models.Publication RedirectURL string }
type YieldContributors ¶
type YieldDatasets ¶
type YieldDeleteAbstract ¶
type YieldDeleteContributor ¶
type YieldDeleteDataset ¶
type YieldDeleteDepartment ¶
type YieldDeleteFile ¶
type YieldDeleteFile struct { Context File *models.PublicationFile }
type YieldDeleteLaySummary ¶
type YieldDeleteLink ¶
type YieldDeleteProject ¶
type YieldDepartments ¶
type YieldDepartments struct {
Context
}
type YieldDetails ¶
type YieldEditAbstract ¶
type YieldEditAdditionalInfo ¶
type YieldEditConference ¶
type YieldEditContributor ¶
type YieldEditContributorSuggest ¶
type YieldEditContributorSuggest struct { Context Role string Position int Contributor *models.Contributor FirstName string LastName string Hits []*models.Contributor }
type YieldEditFile ¶
type YieldEditLaySummary ¶
type YieldEditLink ¶
type YieldEditReviewerNote ¶
type YieldEditReviewerTags ¶
type YieldLaySummaries ¶
type YieldLaySummaries struct {
Context
}
type YieldLinks ¶
type YieldLinks struct {
Context
}
type YieldProjects ¶
type YieldProjects struct {
Context
}
type YieldPublish ¶
type YieldRepublish ¶
type YieldShowFiles ¶
type YieldUpdateType ¶
type YieldWithdraw ¶
Click to show internal directories.
Click to hide internal directories.