couchbase

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

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

Storage is interface structure

func New

func New(config *types.ConfYaml) *Storage

New func implements the storage interface

func (*Storage) Create

func (s *Storage) Create(key string, metadata types.FileMetadata)

func (*Storage) FetchKeys

func (s *Storage) FetchKeys() types.ListKeys

func (*Storage) Init

func (s *Storage) Init() error

Init client storage.

func (*Storage) Read

func (s *Storage) Read(key string) types.FileData

func (*Storage) ReadByCid

func (s *Storage) ReadByCid(key string) types.FileMetadata

Jump to

Keyboard shortcuts

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