{"modulePath":"github.com/guacsec/guac","version":"v1.1.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package process\n\n## Functions\n\n```go\nfunc Process(ctx context.Context, i *processor.Document) (processor.DocumentTree, error)\n```\nProcess processes the documents received from the collector to determine their format and document type.\n\n```go\nfunc RegisterDocumentProcessor(p processor.DocumentProcessor, d processor.DocumentType) error\n```\n\n```go\nfunc Subscribe(ctx context.Context, em collector.Emitter, blobStore *blob.BlobStore, emPubSub *emitter.EmitterPubSub) error\n```\nSubscribe receives the CD event and decodes the event to obtain the blob store key. The key is used to retrieve the \"document\" from the blob store to be processed and ingested.\n\n","path":"github.com/guacsec/guac/pkg/handler/processor/process","name":"process","synopsis":"","isRedistributable":true}
