search

package
v0.0.0-...-6d36bb5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmoteResult

type EmoteResult struct {
	Name string
	Id   string
}

type EmoteSearchOptions

type EmoteSearchOptions struct {
	Limit     int64
	Page      int64
	Sort      EmoteSortOptions
	Exact     bool
	Personal  bool
	Listed    bool
	Lifecycle int32
}

type EmoteSortOptions

type EmoteSortOptions struct {
	By        string
	Ascending bool
}

type MeiliSearch

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

func New

func New(cfg *configure.Config) *MeiliSearch

func (*MeiliSearch) SearchEmotes

func (s *MeiliSearch) SearchEmotes(query string, opt EmoteSearchOptions) ([]EmoteResult, int64, error)

Jump to

Keyboard shortcuts

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