Documentation ¶
Index ¶
- type CNCHook
- func (c *CNCHook) GetRecord(req oaipmh.OAIPMHRequest) oaipmh.ResultWrapper[oaipmh.OAIPMHRecord]
- func (c *CNCHook) Identify() oaipmh.ResultWrapper[oaipmh.OAIPMHIdentify]
- func (c *CNCHook) ListIdentifiers(req oaipmh.OAIPMHRequest) oaipmh.ResultWrapper[[]oaipmh.OAIPMHRecordHeader]
- func (c *CNCHook) ListMetadataFormats(req oaipmh.OAIPMHRequest) oaipmh.ResultWrapper[[]oaipmh.OAIPMHMetadataFormat]
- func (c *CNCHook) ListRecords(req oaipmh.OAIPMHRequest) oaipmh.ResultWrapper[[]oaipmh.OAIPMHRecord]
- func (c *CNCHook) ListSets(req oaipmh.OAIPMHRequest) oaipmh.ResultWrapper[[]oaipmh.OAIPMHSet]
- func (c *CNCHook) SupportedMetadataPrefixes() []string
- func (c *CNCHook) SupportsSets() bool
- type MetadataType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CNCHook ¶
type CNCHook struct {
// contains filtered or unexported fields
}
func NewCNCHook ¶
func NewCNCHook(conf *cnf.Conf, db *cncdb.CNCMySQLHandler) *CNCHook
func (*CNCHook) GetRecord ¶
func (c *CNCHook) GetRecord(req oaipmh.OAIPMHRequest) oaipmh.ResultWrapper[oaipmh.OAIPMHRecord]
func (*CNCHook) Identify ¶
func (c *CNCHook) Identify() oaipmh.ResultWrapper[oaipmh.OAIPMHIdentify]
func (*CNCHook) ListIdentifiers ¶
func (c *CNCHook) ListIdentifiers(req oaipmh.OAIPMHRequest) oaipmh.ResultWrapper[[]oaipmh.OAIPMHRecordHeader]
same as ListRecords but returns only RecordHeaders
func (*CNCHook) ListMetadataFormats ¶
func (c *CNCHook) ListMetadataFormats(req oaipmh.OAIPMHRequest) oaipmh.ResultWrapper[[]oaipmh.OAIPMHMetadataFormat]
func (*CNCHook) ListRecords ¶
func (c *CNCHook) ListRecords(req oaipmh.OAIPMHRequest) oaipmh.ResultWrapper[[]oaipmh.OAIPMHRecord]
func (*CNCHook) ListSets ¶
func (c *CNCHook) ListSets(req oaipmh.OAIPMHRequest) oaipmh.ResultWrapper[[]oaipmh.OAIPMHSet]
func (*CNCHook) SupportedMetadataPrefixes ¶
func (*CNCHook) SupportsSets ¶
type MetadataType ¶
type MetadataType string
const ( CorpusMetadataType MetadataType = "corpus" ServiceMetadataType MetadataType = "service" )
Click to show internal directories.
Click to hide internal directories.