inmem

package
v0.0.0-...-882b9c2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CTRepo

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

func (*CTRepo) GetTransactions

func (r *CTRepo) GetTransactions(ctx context.Context, acc string) ([]ct.Transaction, error)

func (*CTRepo) InsertTransaction

func (r *CTRepo) InsertTransaction(ctx context.Context, ctt ct.Transaction) error

func (*CTRepo) NewAccount

func (r *CTRepo) NewAccount(ctx context.Context, acc string, level ct.Restriction) error

func (*CTRepo) SetRestriction

func (r *CTRepo) SetRestriction(ctx context.Context, acc string, level ct.Restriction) error

Jump to

Keyboard shortcuts

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