Documentation ¶ Index ¶ func GetMongoClient() (client *mongo.Client, ctx context.Context, cancel context.CancelFunc, ...) type FILE func (f *FILE) HandleDownloadRequest() []byte func (f *FILE) HandleUploadRequest() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetMongoClient ¶ func GetMongoClient() (client *mongo.Client, ctx context.Context, cancel context.CancelFunc, error error) EXPOSE FUNCTION #3 Types ¶ type FILE ¶ type FILE struct { Filedata []byte Filename string Clusterinfo string Dbname string Dbdata bson.M } func (*FILE) HandleDownloadRequest ¶ func (f *FILE) HandleDownloadRequest() []byte func (*FILE) HandleUploadRequest ¶ func (f *FILE) HandleUploadRequest() Source Files ¶ View all Source files storage.go Click to show internal directories. Click to hide internal directories.