Dynamic Configuration Refactoring
This commit is contained in:
parent
d3ae88f108
commit
a09dfa3ce1
452 changed files with 21023 additions and 9419 deletions
|
@ -30,8 +30,8 @@ var (
|
|||
})
|
||||
)
|
||||
|
||||
// AddRoutes add version routes on a router
|
||||
func (v Handler) AddRoutes(router *mux.Router) {
|
||||
// Append adds version routes on a router.
|
||||
func (v Handler) Append(router *mux.Router) {
|
||||
router.Methods(http.MethodGet).Path("/api/version").
|
||||
HandlerFunc(func(response http.ResponseWriter, request *http.Request) {
|
||||
v := struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue