Documentation ¶
Index ¶
- func CreateCommand(w http.ResponseWriter, r *http.Request)
- func DeleteCommand(w http.ResponseWriter, r *http.Request)
- func ListCommands(w http.ResponseWriter, r *http.Request)
- func ReplaceCommand(w http.ResponseWriter, r *http.Request)
- func Timeout(next http.Handler) http.Handler
- func UpdateCommand(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCommand ¶
func CreateCommand(w http.ResponseWriter, r *http.Request)
CreateCommand creates a bot command in the database collection.
func DeleteCommand ¶
func DeleteCommand(w http.ResponseWriter, r *http.Request)
DeleteCommand deletes a bot command from the database collection.
func ListCommands ¶
func ListCommands(w http.ResponseWriter, r *http.Request)
ListCommands lists bot commands present in the database collection.
func ReplaceCommand ¶
func ReplaceCommand(w http.ResponseWriter, r *http.Request)
ReplaceCommand replaces an existing bot command in the database collection.
func UpdateCommand ¶
func UpdateCommand(w http.ResponseWriter, r *http.Request)
UpdateCommand updates an existing bot command in the database collection.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.