repository

package
v0.0.0-...-3852566 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransactionRepository

type TransactionRepository interface {
	Read(ctx context.Context, key string) (transation *transactionPB.TransactionEvent, err error)
	Write(ctx context.Context, key string, transation *transactionPB.TransactionEvent) error
}

TransactionRepository interface

func NewTransactionRepository

func NewTransactionRepository(store store.Store) TransactionRepository

NewProfileRepository returns an instance of `TransactionRepository`.

Jump to

Keyboard shortcuts

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