keyvalue

package
v0.0.0-...-5cd5cfe Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AztableEntity

type AztableEntity struct {
	aztables.Entity

	Content aztables.EDMBinary
}

type AzureStorageClientFactory

type AzureStorageClientFactory func(tableName string) (*aztables.Client, error)

type AzureStorageTableKeyValueService

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

DynamoKeyValueService - an AWS DynamoDB implementation of the Nitric Document Service

func New

New creates a new AWS DynamoDB implementation of a DocumentServiceServer

func NewWithClient

func NewWithClient(clientFactory AzureStorageClientFactory) (*AzureStorageTableKeyValueService, error)

NewWithClient creates a DocumentServiceServer with an given DynamoDB client instance.

Primarily used for testing

func (*AzureStorageTableKeyValueService) DeleteKey

Delete a key/value pair from the Azure Storage table

func (*AzureStorageTableKeyValueService) GetValue

Get a value from the Azure Storage table

func (*AzureStorageTableKeyValueService) ScanKeys

Return all keys in the Azure Storage table for a key/value store

func (*AzureStorageTableKeyValueService) SetValue

Set a value in the Azure Storage table

Jump to

Keyboard shortcuts

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