Documentation
¶
Index ¶
- Variables
- type Config
- type Service
- func (s Service) GetByID(ctx context.Context, indexName, id string) (model.Quote, error)
- func (s Service) HasIndex(ctx context.Context, indexName string) bool
- func (s Service) Random(ctx context.Context, indexName string) (model.Quote, error)
- func (s Service) Search(ctx context.Context, indexName, query string, offset int) (model.Quote, error)
- func (s Service) TemplateFunc(w http.ResponseWriter, r *http.Request) (renderer.Page, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.