database

package
v0.0.0-...-057cdea Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetadataCollection = "metadata"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DicomMetadata

type DicomMetadata struct {
	ID                string    `bson:"_id"`
	StudyInstanceUID  string    `bson:"study_instance_uid"`
	SeriesInstanceUID string    `bson:"series_instance_uid"`
	SOPInstanceUID    string    `bson:"sop_instance_uid"`
	CreatedAt         time.Time `bson:"created_at"`
}

type MongoWrapperClient

type MongoWrapperClient struct {
	// contains filtered or unexported fields
}

func NewMongoWrapperClient

func NewMongoWrapperClient(logger *zap.Logger, opts ...*options.ClientOptions) (*MongoWrapperClient, error)

NewMongoWrapperClient returns the pointer to a MongoWrapperClient

func (*MongoWrapperClient) DeleteAllMetadata

func (c *MongoWrapperClient) DeleteAllMetadata()

func (*MongoWrapperClient) DeleteMetadata

func (c *MongoWrapperClient) DeleteMetadata()

func (*MongoWrapperClient) InsertMetadata

func (c *MongoWrapperClient) InsertMetadata()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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