azure

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Azure

type Azure struct {
	// Azure Blob Storage client
	Client *storage.Client
	Config config.AzureConfig
}

func New

func New(config config.AzureConfig) *Azure

New creates a new Azure Blob Storage client

func (*Azure) Delete

func (a *Azure) Delete(key string) error

func (*Azure) Get

func (a *Azure) Get(key string) ([]byte, error)

func (*Azure) List

func (a *Azure) List(prefix string) ([]string, error)

func (*Azure) Set

func (a *Azure) Set(key string, value []byte, ttl int) error

Jump to

Keyboard shortcuts

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