postgres

package
v0.0.0-...-0a7fcff Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresStorage

type PostgresStorage struct{}

func (PostgresStorage) DeleteHellos

func (p PostgresStorage) DeleteHellos(ctx context.Context, ids []string) error

func (PostgresStorage) GetHello

func (p PostgresStorage) GetHello(ctx context.Context, id string) (*sprinklesv1.Hello, error)

func (PostgresStorage) GetHellos

func (p PostgresStorage) GetHellos(ctx context.Context, request *sprinklesv1.GetRequest) ([]*sprinklesv1.Hello, error)

func (PostgresStorage) Initialize

func (p PostgresStorage) Initialize() (shutdown func(), err error)

func (PostgresStorage) ListHellos

func (p PostgresStorage) ListHellos(ctx context.Context, request *sprinklesv1.ListRequest) ([]*sprinklesv1.Hello, error)

func (PostgresStorage) Ready

func (p PostgresStorage) Ready() bool

func (PostgresStorage) UpsertHellos

Jump to

Keyboard shortcuts

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