package
2.28.1+incompatible
Repository: https://github.com/tarkov-database/rest-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

MongoToAPIError converts an MongoDB error to an internal error.
NewResponse creates a new status response based on parameters.
ToObjectID converts a string id to an object ID.

# Variables

ErrInternalError indicates that there was an function or backend error.
ErrInvalidInput indicates that an input was invalid.
ErrInvalidKind indicates that a kind was invalid.
ErrInvalidObjectID indicates that an object ID was invalid.
ErrNoResult indicates that no documents were found.

# Structs

CustomFilter describes a custom filter.
Response describes a status response.
Result describes an result output.
Timestamp outputs the time in a Unix timestamp.

# Interfaces

DocumentFilter describes the interface for filtering documents.

# Type aliases

ObjectID defines an object ID.