repository

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 6 Imported by: 3

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