Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResponseError ¶
func ResponseError(w http.ResponseWriter, msg string, code int)
func ResponseJson ¶
func ResponseJson(w http.ResponseWriter, obj interface{})
Types ¶
type AdminHandler ¶
type AdminHandler struct {
// contains filtered or unexported fields
}
AdminHandler: admin api handler
func NewAdminHandler ¶
func NewAdminHandler(rt *proxy.Runtime) *AdminHandler
func (*AdminHandler) Root ¶
func (h *AdminHandler) Root(w http.ResponseWriter, r *http.Request)
adminHandler: admin api handler
func (*AdminHandler) ServiceEndpoints ¶
func (h *AdminHandler) ServiceEndpoints(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.