adapters

package
v4.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElasticsearchAdapter

type ElasticsearchAdapter struct {
	Debug      bool
	Service    string
	Client     *elastic.Client
	Dispatcher *events.Dispatcher
}

func (*ElasticsearchAdapter) CreateAdapter

func (es *ElasticsearchAdapter) CreateAdapter(ctx context.Context, paginator paginations.Pagination) paginator.Adapter

type GormAdapter

type GormAdapter struct {
	Debug      bool
	Dispatcher *events.Dispatcher
}

func (*GormAdapter) CreateAdapter

func (g *GormAdapter) CreateAdapter(ctx context.Context, paginator paginations.Pagination) paginator.Adapter

type MongodbAdapter

type MongodbAdapter struct {
	Debug      bool
	Dispatcher *events.Dispatcher
}

func (*MongodbAdapter) CreateAdapter

func (mg *MongodbAdapter) CreateAdapter(ctx context.Context, paginator paginations.Pagination) paginator.Adapter

Jump to

Keyboard shortcuts

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