Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteJson ¶
func WriteJson(w http.ResponseWriter, v interface{}) (err error)
Types ¶
type HostSwitch ¶
func NewHostSwitch ¶
func NewHostSwitch() *HostSwitch
func (HostSwitch) ServeHTTP ¶
func (hs HostSwitch) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.