package
0.0.0-20240513174111-a311b3bdd62a
Repository: https://github.com/aptrust/registry.git
Documentation: pkg.go.dev
# Functions
AbortIfError stops request processing and displays an error page if param err is not nil.
NewJsonList creates a new json list response structure.
NewListFromJson converts a json string to a JsonList object.
No description provided by the author
StatusCodeForError returns the http.StatusCode for the specified error.
# Structs
AlertViewList is used in testing to convert a generic JsonList into a typed list that we can test with assertions.
ChecksumViewList is used in testing to convert a generic JsonList into a typed list that we can test with assertions.
DeletionRequestViewList is used in testing to convert a generic JsonList into a typed list that we can test with assertions.
GenericFileList is used in testing to convert a generic JsonList into a typed list that we can test with assertions.
GenericFileViewList is used in testing to convert a generic JsonList into a typed list that we can test with assertions.
InstitutionViewList is used in testing to convert a generic JsonList into a typed list that we can test with assertions.
IntellectualObjectList is used in testing to convert a generic JsonList into a typed list that we can test with assertions.
JsonList provides the structure for an API response that contains a list of items.
PremisEventViewList is used in testing to convert a generic JsonList into a typed list that we can test with assertions.
No description provided by the author
No description provided by the author
StorageRecordList is used in testing to convert a generic JsonList into a typed list that we can test with assertions.
WorkItemViewList is used in testing to convert a generic JsonList into a typed list that we can test with assertions.