Documentation
¶
Index ¶
- type Adapter
- func (a *Adapter) Connect() error
- func (a *Adapter) Disconnect() error
- func (a *Adapter) Find(params moleculer.Payload) moleculer.Payload
- func (a *Adapter) FindOne(params moleculer.Payload) moleculer.Payload
- func (a *Adapter) Init(log *log.Entry, settings map[string]interface{})
- func (a *Adapter) Insert(params moleculer.Payload) moleculer.Payload
- func (a *Adapter) RemoveAll() moleculer.Payload
- func (a *Adapter) RemoveById(id moleculer.Payload) moleculer.Payload
- func (adapter *Adapter) Update(params moleculer.Payload) moleculer.Payload
- func (a *Adapter) UpdateById(id, update moleculer.Payload) moleculer.Payload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
URIs []string
// contains filtered or unexported fields
}
func (*Adapter) Disconnect ¶
func (*Adapter) RemoveById ¶
RemoveById remove document from the index by id
Click to show internal directories.
Click to hide internal directories.