Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigRespMap ¶
type ConfigRespMap struct {
Configuration map[string]interface{}
}
type RestController ¶ added in v1.1.0
type RestController struct {
// contains filtered or unexported fields
}
func NewRestController ¶ added in v1.1.0
func NewRestController(r *mux.Router) RestController
func (RestController) AddRoute ¶ added in v1.1.0
func (c RestController) AddRoute(route string, handler func(http.ResponseWriter, *http.Request), methods ...string) error
func (RestController) InitRestRoutes ¶ added in v1.1.0
func (c RestController) InitRestRoutes()
func (RestController) Router ¶ added in v1.1.0
func (c RestController) Router() *mux.Router
Click to show internal directories.
Click to hide internal directories.