Documentation
¶
Index ¶
- type API
- type Handler
- func (h *Handler) Create(w http.ResponseWriter, r *http.Request)
- func (h *Handler) CreateCollection(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Delete(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Read(w http.ResponseWriter, r *http.Request)
- func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Update(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Store interface { Open() error CreateCollection(string) (*collection.Collection, error) Collection(string) *collection.Collection } // contains filtered or unexported fields }
func NewHandler ¶
func (*Handler) CreateCollection ¶
func (h *Handler) CreateCollection(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.