test

package
v1.0.0-1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyJsonPostgresPersistence

type DummyJsonPostgresPersistence struct {
	persist.IdentifiableJsonPostgresPersistence[fixtures.Dummy, string]
}

func NewDummyJsonPostgresPersistence

func NewDummyJsonPostgresPersistence() *DummyJsonPostgresPersistence

func (*DummyJsonPostgresPersistence) DefineSchema

func (c *DummyJsonPostgresPersistence) DefineSchema()

func (*DummyJsonPostgresPersistence) GetCountByFilter

func (c *DummyJsonPostgresPersistence) GetCountByFilter(ctx context.Context, correlationId string,
	filter cdata.FilterParams) (count int64, err error)

func (*DummyJsonPostgresPersistence) GetOneRandom

func (c *DummyJsonPostgresPersistence) GetOneRandom(ctx context.Context, correlationId string) (item fixtures.Dummy, err error)

func (*DummyJsonPostgresPersistence) GetPageByFilter

func (c *DummyJsonPostgresPersistence) GetPageByFilter(ctx context.Context, correlationId string,
	filter cdata.FilterParams, paging cdata.PagingParams) (page cdata.DataPage[fixtures.Dummy], err error)

type DummyMapPostgresPersistence

type DummyMapPostgresPersistence struct {
	persist.IdentifiablePostgresPersistence[map[string]any, string]
}

func NewDummyMapPostgresPersistence

func NewDummyMapPostgresPersistence() *DummyMapPostgresPersistence

func (*DummyMapPostgresPersistence) DefineSchema

func (c *DummyMapPostgresPersistence) DefineSchema()

func (*DummyMapPostgresPersistence) GetCountByFilter

func (c *DummyMapPostgresPersistence) GetCountByFilter(ctx context.Context, correlationId string,
	filter cdata.FilterParams) (count int64, err error)

func (*DummyMapPostgresPersistence) GetPageByFilter

func (c *DummyMapPostgresPersistence) GetPageByFilter(ctx context.Context, correlationId string,
	filter cdata.FilterParams, paging cdata.PagingParams) (page cdata.DataPage[map[string]any], err error)

type DummyPostgresPersistence

type DummyPostgresPersistence struct {
	persist.IdentifiablePostgresPersistence[fixtures.Dummy, string]
}

func NewDummyPostgresPersistence

func NewDummyPostgresPersistence() *DummyPostgresPersistence

func (*DummyPostgresPersistence) DefineSchema

func (c *DummyPostgresPersistence) DefineSchema()

func (*DummyPostgresPersistence) GetCountByFilter

func (c *DummyPostgresPersistence) GetCountByFilter(ctx context.Context, correlationId string,
	filter cdata.FilterParams) (count int64, err error)

func (*DummyPostgresPersistence) GetOneRandom

func (c *DummyPostgresPersistence) GetOneRandom(ctx context.Context, correlationId string) (item fixtures.Dummy, err error)

func (*DummyPostgresPersistence) GetPageByFilter

func (c *DummyPostgresPersistence) GetPageByFilter(ctx context.Context, correlationId string,
	filter cdata.FilterParams, paging cdata.PagingParams) (page cdata.DataPage[fixtures.Dummy], err error)

type DummyRefPostgresPersistence

type DummyRefPostgresPersistence struct {
	persist.IdentifiablePostgresPersistence[*fixtures.Dummy, string]
}

func NewDummyRefPostgresPersistence

func NewDummyRefPostgresPersistence() *DummyRefPostgresPersistence

func (*DummyRefPostgresPersistence) GetCountByFilter

func (c *DummyRefPostgresPersistence) GetCountByFilter(ctx context.Context, correlationId string,
	filter cdata.FilterParams) (count int64, err error)

func (*DummyRefPostgresPersistence) GetPageByFilter

func (c *DummyRefPostgresPersistence) GetPageByFilter(ctx context.Context, correlationId string,
	filter cdata.FilterParams, paging cdata.PagingParams) (page cdata.DataPage[*fixtures.Dummy], err error)

Jump to

Keyboard shortcuts

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