Documentation ¶ Index ¶ type Handler func NewHandler(config *config.Config) *Handler func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) type Index func New(config *config.Config, ctx context.Context) (*Index, error) func (i *Index) Close() error func (i *Index) WriteJSON(w http.ResponseWriter) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Handler ¶ type Handler struct { // contains filtered or unexported fields } func NewHandler ¶ func NewHandler(config *config.Config) *Handler func (*Handler) ServeHTTP ¶ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) type Index ¶ type Index struct { // contains filtered or unexported fields } func New ¶ func New(config *config.Config, ctx context.Context) (*Index, error) func (*Index) Close ¶ func (i *Index) Close() error func (*Index) WriteJSON ¶ func (i *Index) WriteJSON(w http.ResponseWriter) error Source Files ¶ View all Source files handler.go index.go Click to show internal directories. Click to hide internal directories.