idservice

package
v0.0.0-...-3fd51b8 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const StatusPublic = "public"

StatusPublic -- the item is public

View Source
const StatusReserved = "reserved"

StatusReserved -- the item is reserved

View Source
const StatusUnavailable = "unavailable|withdrawn by Library"

StatusUnavailable -- the item is unavailable

Variables

This section is empty.

Functions

func CreateDoi

func CreateDoi(shoulder string, request api.Request, status string) (api.Request, int)

CreateDoi -- Create a new entity; we may or may not have complete entity details

func DeleteDoi

func DeleteDoi(doi string) int

DeleteDoi -- delete entity details when provided a DOI

func GetDoi

func GetDoi(doi string) (api.Request, int)

GetDoi -- get entity details when provided a DOI

func GetStatus

func GetStatus() (int, string)

GetStatus -- get the status of the endpoint

func UpdateDoi

func UpdateDoi(request api.Request, status string) int

UpdateDoi -- Update an existing DOI to match the provided entity

Types

This section is empty.

Jump to

Keyboard shortcuts

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