test

package
v1.0.0-3 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 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 DummyJsonMysqlPersistence

type DummyJsonMysqlPersistence struct {
	*persist.IdentifiableJsonMysqlPersistence[fixtures.Dummy, string]
}

func NewDummyJsonMysqlPersistence

func NewDummyJsonMysqlPersistence() *DummyJsonMysqlPersistence

func (*DummyJsonMysqlPersistence) DefineSchema

func (c *DummyJsonMysqlPersistence) DefineSchema()

func (*DummyJsonMysqlPersistence) GetCountByFilter

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

func (*DummyJsonMysqlPersistence) GetOneRandom

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

func (*DummyJsonMysqlPersistence) GetPageByFilter

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

type DummyMapMysqlPersistence

type DummyMapMysqlPersistence struct {
	persist.IdentifiableMysqlPersistence[map[string]any, string]
}

func NewDummyMapMysqlPersistence

func NewDummyMapMysqlPersistence() *DummyMapMysqlPersistence

func (*DummyMapMysqlPersistence) DefineSchema

func (c *DummyMapMysqlPersistence) DefineSchema()

func (*DummyMapMysqlPersistence) GetCountByFilter

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

func (*DummyMapMysqlPersistence) GetPageByFilter

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

type DummyMysqlPersistence

type DummyMysqlPersistence struct {
	*persist.IdentifiableMysqlPersistence[fixtures.Dummy, string]
}

func NewDummyMysqlPersistence

func NewDummyMysqlPersistence() *DummyMysqlPersistence

func (*DummyMysqlPersistence) DefineSchema

func (c *DummyMysqlPersistence) DefineSchema()

func (*DummyMysqlPersistence) GetCountByFilter

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

func (*DummyMysqlPersistence) GetOneRandom

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

func (*DummyMysqlPersistence) GetPageByFilter

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

type DummyRefMysqlPersistence

type DummyRefMysqlPersistence struct {
	persist.IdentifiableMysqlPersistence[*fixtures.Dummy, string]
}

func NewDummyRefMysqlPersistence

func NewDummyRefMysqlPersistence() *DummyRefMysqlPersistence

func (*DummyRefMysqlPersistence) GetCountByFilter

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

func (*DummyRefMysqlPersistence) GetPageByFilter

func (c *DummyRefMysqlPersistence) 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