Documentation ¶
Overview ¶
Package rest provides rest api logic
Package rest provides rest api logic
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface { Index(w http.ResponseWriter, r *http.Request) (int, error) Exists(w http.ResponseWriter, r *http.Request) (int, error) Search(w http.ResponseWriter, r *http.Request) (int, error) SearchByID(w http.ResponseWriter, r *http.Request) (int, error) Insert(w http.ResponseWriter, r *http.Request) (int, error) MultiInsert(w http.ResponseWriter, r *http.Request) (int, error) Update(w http.ResponseWriter, r *http.Request) (int, error) MultiUpdate(w http.ResponseWriter, r *http.Request) (int, error) Remove(w http.ResponseWriter, r *http.Request) (int, error) MultiRemove(w http.ResponseWriter, r *http.Request) (int, error) CreateIndex(w http.ResponseWriter, r *http.Request) (int, error) SaveIndex(w http.ResponseWriter, r *http.Request) (int, error) CreateAndSaveIndex(w http.ResponseWriter, r *http.Request) (int, error) GetObject(w http.ResponseWriter, r *http.Request) (int, error) }
Click to show internal directories.
Click to hide internal directories.