cnchook

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 (*CNCHook) Identify

func (*CNCHook) ListIdentifiers

same as ListRecords but returns only RecordHeaders

func (*CNCHook) ListMetadataFormats

func (*CNCHook) ListRecords

func (*CNCHook) ListSets

func (*CNCHook) SupportedMetadataPrefixes

func (c *CNCHook) SupportedMetadataPrefixes() []string

func (*CNCHook) SupportsSets

func (c *CNCHook) SupportsSets() bool

type MetadataType

type MetadataType string
const (
	CorpusMetadataType  MetadataType = "corpus"
	ServiceMetadataType MetadataType = "service"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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