Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MappingProvider ¶
type MappingProvider struct {
// contains filtered or unexported fields
}
func (*MappingProvider) GetMapping ¶
func (p *MappingProvider) GetMapping() seq.Mapping
func (*MappingProvider) GetRawMapping ¶
func (p *MappingProvider) GetRawMapping() *seq.RawMapping
func (*MappingProvider) WatchUpdates ¶
func (p *MappingProvider) WatchUpdates(ctx context.Context)
WatchUpdates periodically reads the contents at filePath and when it detects changes it updates the mapping
type Option ¶
type Option func(*MappingProvider)
func WithIndexAllFields ¶
func WithMapping ¶
func WithUpdatePeriod ¶
Click to show internal directories.
Click to hide internal directories.