storage

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 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 DefaultMetadataStorage

type DefaultMetadataStorage struct {
}

func (DefaultMetadataStorage) Get

func (d DefaultMetadataStorage) Get(key string) (string, error)

func (DefaultMetadataStorage) Set

func (d DefaultMetadataStorage) Set(key string, value string) error

type MetadataStorage

type MetadataStorage interface {
	Get(key string) (string, error)
	Set(key string, value string) error
}

type MetadataStorageService

type MetadataStorageService struct {
	protos.MetadataStorageServiceServer
	// contains filtered or unexported fields
}

func NewMetadataStorageService

func NewMetadataStorageService(metadataStorage MetadataStorage) *MetadataStorageService

func (MetadataStorageService) Get

func (MetadataStorageService) Set

Jump to

Keyboard shortcuts

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