Documentation ¶
Index ¶
- type Store
- func (p *Store) Create(ctx context.Context, request requestobject.RequestObject) (*requestobject.RequestObject, error)
- func (p *Store) Delete(ctx context.Context, id string) error
- func (p *Store) Find(ctx context.Context, id string) (*requestobject.RequestObject, error)
- func (p *Store) GetResourceURL(_ string) string
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 (*Store) Create ¶
func (p *Store) Create( ctx context.Context, request requestobject.RequestObject, ) (*requestobject.RequestObject, error)
Create creates transaction document in a database.
func (*Store) Find ¶
func (p *Store) Find( ctx context.Context, id string, ) (*requestobject.RequestObject, error)
Find profile by give id.
func (*Store) GetResourceURL ¶
GetResourceURL should return an empty string in current implementation. VCS service will build own url.
Click to show internal directories.
Click to hide internal directories.