dbexport

package
v0.0.0-...-8a398ea Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachFile

func AttachFile(c *gin.Context, collection string, content []byte)

Types

type Exporter

type Exporter interface {
	Export(ctx context.Context, collection string, r Request) ([]byte, error)
}

func NewExporter

func NewExporter(dbClient mongo.DbClient) Exporter

type Request

type Request struct {
	IDs []string `json:"ids" binding:"required"`
}

Jump to

Keyboard shortcuts

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