postgres

package
v0.0.0-...-9762c8f Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

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
}

func NewStore

func NewStore(conf pg.Config, environment string, logger zerolog.Logger) (*Store, error)

func (Store) GetAccountByPublicKey

func (s Store) GetAccountByPublicKey(publicKey string, account *model.Account) error

func (Store) GetAccountCount

func (s Store) GetAccountCount() (int, error)

func (Store) InsertAccount

func (s Store) InsertAccount(account *model.Account) error

func (*Store) Start

func (s *Store) Start() error

func (*Store) Stop

func (s *Store) Stop()

Jump to

Keyboard shortcuts

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