requestobjectstore

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 8 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(mongoClient *mongodb.Client) *Store

NewStore creates Store.

func (*Store) Create

Create creates transaction document in a database.

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(_ string) string

GetResourceURL should return an empty string in current implementation. VCS service will build own url.

Jump to

Keyboard shortcuts

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