Documentation ¶ Index ¶ type Library type Service func InitService(logger *slog.Logger, lib Library, streaming *streaming.Client) *Service func (s *Service) Search(ctx context.Context, query string, resultsPerType int) (unification.SearchRes, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Library ¶ type Library interface { Search(ctx context.Context, query string, limit int) (library.SearchRes, error) } type Service ¶ type Service struct { // contains filtered or unexported fields } func InitService ¶ func InitService(logger *slog.Logger, lib Library, streaming *streaming.Client) *Service func (*Service) Search ¶ func (s *Service) Search(ctx context.Context, query string, resultsPerType int) (unification.SearchRes, error) Source Files ¶ View all Source files service.go Click to show internal directories. Click to hide internal directories.