Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type AnnotationsAPI ¶
type AnnotationsAPI interface { Get(ctx context.Context, contentUUID string) ([]Annotation, error) GTG() error Endpoint() string }
func NewAnnotationsAPI ¶
func NewAnnotationsAPI(endpoint string, apiKey string) AnnotationsAPI
type ByScore ¶
type ByScore []suggest.Suggestion
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(api AnnotationsAPI, fwAPI *fotoware.FotowareAPI) *Handler
type SuggestHandler ¶
type SuggestHandler struct {
// contains filtered or unexported fields
}
func NewSuggestHandler ¶
func NewSuggestHandler(suggestAPI *suggest.SuggestAPI, fwAPI *fotoware.FotowareAPI) *SuggestHandler
func (*SuggestHandler) SuggestServeHTTP ¶
func (h *SuggestHandler) SuggestServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.