Version: v0.2.2 Latest Latest

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

Go to latest
Published: Aug 28, 2020 License: MIT Imports: 12 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type BaseIndexerSvc added in v0.2.2

type BaseIndexerSvc struct {
	// contains filtered or unexported fields

BaseIndexerSvc represent BaseIndexerSvc

func (*BaseIndexerSvc) SetIndexer added in v0.2.2

func (s *BaseIndexerSvc) SetIndexer(context, container, component string) (*indexer.Indexer, error)

SetIndexer set Indexer

type BaseSvc

type BaseSvc struct {
	// contains filtered or unexported fields

BaseSvc represent BaseSvc

func (*BaseSvc) GetHandler

func (s *BaseSvc) GetHandler() *handler.Handler

GetHandler set Handler

func (*BaseSvc) SetDBConnectionName

func (s *BaseSvc) SetDBConnectionName(v string)

SetDBConnectionName set DBConnectionName

func (*BaseSvc) SetHandler

func (s *BaseSvc) SetHandler(h *handler.Handler)

SetHandler set Handler

type CountryIndexerSvc added in v0.2.2

type CountryIndexerSvc struct {

CountryIndexerSvc represent CountryIndexerSvc

func NewCountryIndexerSvc added in v0.2.2

func NewCountryIndexerSvc(h *handler.Handler) (*CountryIndexerSvc, error)

NewCountryIndexerSvc new CountryIndexerSvc

func (*CountryIndexerSvc) Create added in v0.2.2

func (s *CountryIndexerSvc) Create(country *domSchema.Country) error

Create new country document

func (*CountryIndexerSvc) Delete added in v0.2.2

func (s *CountryIndexerSvc) Delete(country *domSchema.Country) error

Delete existing country document

func (*CountryIndexerSvc) Refresh added in v0.2.2

func (s *CountryIndexerSvc) Refresh(countries []*domSchema.Country) error

Refresh country index

func (*CountryIndexerSvc) Search added in v0.2.2

Search country index

func (*CountryIndexerSvc) Update added in v0.2.2

func (s *CountryIndexerSvc) Update(country *domSchema.Country) error

Update existing country document

type CountrySvc

type CountrySvc struct {

CountrySvc represent CountrySvc

func NewCountrySvc

func NewCountrySvc(h *handler.Handler) (*CountrySvc, error)

NewCountrySvc new CountrySvc

func (*CountrySvc) Add

Add Country

func (*CountrySvc) Delete

Delete delete Country

func (*CountrySvc) GetDetail

GetDetail get Detail Country by Code

func (*CountrySvc) ListAll

ListAll list All Country

func (*CountrySvc) Update

Update Country

Jump to

Keyboard shortcuts

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