responses

package
v0.0.0-...-b11ff8e Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCacheResponse

type AddCacheResponse struct {
	Key string
}

type AddDocumentResponse

type AddDocumentResponse struct {
	ID         string
	Collection string
}

type CacheExistsResponse

type CacheExistsResponse struct {
	Key    string
	Exists bool
}

type FilterDocumentsResponse

type FilterDocumentsResponse struct {
	Filter     bson.D
	Documents  []base.Document
	Collection string
}

type ListDocumentsResponse

type ListDocumentsResponse struct {
	Documents  []base.Document
	Collection string
}

type RemoveCacheResponse

type RemoveCacheResponse struct {
	Key string
}

type RemoveDocumentResponse

type RemoveDocumentResponse struct {
	ID         string
	Collection string
}

type RemoveKeyLockResponse

type RemoveKeyLockResponse struct {
	Key string
}

type ReplaceDocumentResponse

type ReplaceDocumentResponse struct {
	ID string
}

type RequestKeyLockResponse

type RequestKeyLockResponse struct {
	Key      string
	Acquired bool
}

type RetrieveCacheResponse

type RetrieveCacheResponse struct {
	Key  string
	Data any
}

func (RetrieveCacheResponse) DecodeData

func (r RetrieveCacheResponse) DecodeData(result any) error

type RetrieveDocumentResponse

type RetrieveDocumentResponse struct {
	ID         string
	Collection string
	Document   base.Document
}

Jump to

Keyboard shortcuts

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