Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRecordSeparator ¶
Types ¶
type OAIPMHStore ¶
type OAIPMHStore struct {
Path string // TODO(kiivihal): replace with bucket later
}
func NewOAIPMHStore ¶
func NewOAIPMHStore() (*OAIPMHStore, error)
func (*OAIPMHStore) ListIdentifiers ¶
func (o *OAIPMHStore) ListIdentifiers(ctx context.Context, q *oaipmh.RequestConfig) ( headers []oaipmh.Header, errors []oaipmh.Error, err error, )
type RecordSeparator ¶
type RecordSeparator struct { OrgID string `json:"orgID"` DatasetID string `json:"datasetID"` HubID string `json:"hubID"` LocalID string `json:"localID"` GraphURI string `json:"graphURI"` ContentHash string `json:"contentHash"` }
RecordSeparator is single-line json comment that separates Ntriple Records generated by Narthex.
func NewRecordSeparator ¶
func NewRecordSeparator(line []byte) (RecordSeparator, error)
func (RecordSeparator) String ¶
func (sep RecordSeparator) String() string
type SourceFormat ¶
type SourceFormat int
const ( FormatRaw SourceFormat = iota FormatNTriples FormatEAD )
func (SourceFormat) String ¶
func (i SourceFormat) String() string
Click to show internal directories.
Click to hide internal directories.