11 lines
159 B
Go
11 lines
159 B
Go
package config
|
|
|
|
import (
|
|
"encoding/json"
|
|
"net/http"
|
|
)
|
|
|
|
func (c *Config) Handle(w http.ResponseWriter, r *http.Request) {
|
|
json.NewEncoder(w).Encode(c.Web)
|
|
}
|