unstructured

package
v1.30.0-dexcom-api-v2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	Exists(ctx context.Context, userID string, id string) (bool, error)
	Put(ctx context.Context, userID string, id string, reader io.Reader) error
	Get(ctx context.Context, userID string, id string) (io.ReadCloser, error)
	Delete(ctx context.Context, userID string, id string) (bool, error)
}

type StoreImpl

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

func NewStore

func NewStore(store storeUnstructured.Store) (*StoreImpl, error)

func (*StoreImpl) Delete

func (s *StoreImpl) Delete(ctx context.Context, userID string, id string) (bool, error)

func (*StoreImpl) Exists

func (s *StoreImpl) Exists(ctx context.Context, userID string, id string) (bool, error)

func (*StoreImpl) Get

func (s *StoreImpl) Get(ctx context.Context, userID string, id string) (io.ReadCloser, error)

func (*StoreImpl) Put

func (s *StoreImpl) Put(ctx context.Context, userID string, id string, reader io.Reader) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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