meili

package
v0.13.0-pre3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MeiliSearchClient

type MeiliSearchClient struct {
	// contains filtered or unexported fields
}

func NewMeiliSearchClient

func NewMeiliSearchClient(logger *zap.Logger, host string, port int, transcribedBasePath string) *MeiliSearchClient

func (*MeiliSearchClient) DeleteProgramIndex

func (m *MeiliSearchClient) DeleteProgramIndex() error

func (*MeiliSearchClient) DeleteRecordedFileIndex

func (m *MeiliSearchClient) DeleteRecordedFileIndex() error

func (*MeiliSearchClient) Index

func (m *MeiliSearchClient) Index(name string) *meilisearch.Index

func (*MeiliSearchClient) UpdatePrograms

func (m *MeiliSearchClient) UpdatePrograms(programs []db.ListProgramWithMessageAndServiceNameRow, guildID string) error

func (*MeiliSearchClient) UpdateRecordedFile

func (m *MeiliSearchClient) UpdateRecordedFile(row db.GetRecordedFilesRow) error

func (*MeiliSearchClient) UpdateRecordedFiles

func (m *MeiliSearchClient) UpdateRecordedFiles(rows []db.ListRecordedFilesRow) error

Jump to

Keyboard shortcuts

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