requestobjectstore

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

Store manages profile in mongodb.

func NewStore

func NewStore(
	s3Uploader s3Uploader,
	bucket string,
	region string,
	hostName string,
) *Store

NewStore creates Store.

func (*Store) Create

func (*Store) Delete

func (p *Store) Delete(
	ctx context.Context,
	id string,
) error

func (*Store) Find

func (p *Store) Find(
	ctx context.Context,
	id string,
) (*requestobject.RequestObject, error)

Find profile by give id.

func (*Store) GetResourceURL

func (p *Store) GetResourceURL(key string) string

Jump to

Keyboard shortcuts

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