Documentation ¶
Index ¶
- func CreateRule(w http.ResponseWriter, r *http.Request)
- func DeleteRule(w http.ResponseWriter, r *http.Request)
- func GetRule(w http.ResponseWriter, r *http.Request)
- func GetRules(w http.ResponseWriter, r *http.Request)
- func Init(port uint)
- func ProcessRules(w http.ResponseWriter, r *http.Request)
- func UpdateRule(w http.ResponseWriter, r *http.Request)
- func WriteError(w http.ResponseWriter, errorMessage string, status int)
- func WriteFail(w http.ResponseWriter, failMessage string)
- func WriteListSuccess(w http.ResponseWriter, data interface{}, urlWithFilter string, ...)
- func WriteSuccess(w http.ResponseWriter, data interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRule ¶
func CreateRule(w http.ResponseWriter, r *http.Request)
func DeleteRule ¶
func DeleteRule(w http.ResponseWriter, r *http.Request)
func ProcessRules ¶
func ProcessRules(w http.ResponseWriter, r *http.Request)
func UpdateRule ¶
func UpdateRule(w http.ResponseWriter, r *http.Request)
func WriteError ¶
func WriteError(w http.ResponseWriter, errorMessage string, status int)
func WriteFail ¶
func WriteFail(w http.ResponseWriter, failMessage string)
func WriteListSuccess ¶
func WriteListSuccess(w http.ResponseWriter, data interface{}, urlWithFilter string, selfPage, firstPage, prevPage, nextPage, lastPage, totalPages, total, pageSize int)
func WriteSuccess ¶
func WriteSuccess(w http.ResponseWriter, data interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.