Documentation
¶
Index ¶
- func MakeBlobFormat[BLOB any, BLOB_PTR interfaces.Ptr[BLOB]](decoder interfaces.DecoderFromReader[BLOB_PTR], ...) mad_domain_interfaces.Format[BLOB, BLOB_PTR]
- func MakeSavedBlobFormatter(blobReaderFactory mad_domain_interfaces.BlobReaderFactory) savedBlobFormatter
- type Library
- func (library *Library[BLOB, BLOB_PTR]) GetBlob(blobId mad_domain_interfaces.MarklId) (blobPtr BLOB_PTR, repool interfaces.FuncRepool, err error)
- func (library *Library[BLOB, BLOB_PTR]) PutBlob(blob BLOB_PTR)
- func (library *Library[BLOB, BLOB_PTR]) SaveBlobText(blob BLOB_PTR) (digest mad_domain_interfaces.MarklId, n int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeBlobFormat ¶
func MakeBlobFormat[ BLOB any, BLOB_PTR interfaces.Ptr[BLOB], ]( decoder interfaces.DecoderFromReader[BLOB_PTR], encoder interfaces.EncoderToWriter[BLOB_PTR], blobReader mad_domain_interfaces.BlobReaderFactory, ) mad_domain_interfaces.Format[BLOB, BLOB_PTR]
func MakeSavedBlobFormatter ¶
func MakeSavedBlobFormatter( blobReaderFactory mad_domain_interfaces.BlobReaderFactory, ) savedBlobFormatter
Types ¶
type Library ¶
type Library[ BLOB any, BLOB_PTR interfaces.Ptr[BLOB], ] struct { mad_domain_interfaces.Format[BLOB, BLOB_PTR] // contains filtered or unexported fields }
func MakeBlobStore ¶
func MakeBlobStore[ BLOB any, BLOB_PTR interfaces.Ptr[BLOB], ]( envRepo env_repo.Env, format mad_domain_interfaces.Format[BLOB, BLOB_PTR], resetFunc func(BLOB_PTR), ) (blobStore *Library[BLOB, BLOB_PTR])
func (*Library[BLOB, BLOB_PTR]) GetBlob ¶
func (library *Library[BLOB, BLOB_PTR]) GetBlob( blobId mad_domain_interfaces.MarklId, ) (blobPtr BLOB_PTR, repool interfaces.FuncRepool, err error)
func (*Library[BLOB, BLOB_PTR]) PutBlob ¶
func (library *Library[BLOB, BLOB_PTR]) PutBlob(blob BLOB_PTR)
func (*Library[BLOB, BLOB_PTR]) SaveBlobText ¶
func (library *Library[BLOB, BLOB_PTR]) SaveBlobText( blob BLOB_PTR, ) (digest mad_domain_interfaces.MarklId, n int64, err error)
TODO re-evaluate this strategy
Click to show internal directories.
Click to hide internal directories.