Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func XForwardedFor ¶ added in v0.3.2
XForwardedFor gets the http address server from context
Types ¶
type Server ¶
type Server interface { Router() http.Handler FetchGophers(w http.ResponseWriter, r *http.Request) FetchGopher(w http.ResponseWriter, r *http.Request) AddGopher(w http.ResponseWriter, r *http.Request) ModifyGopher(w http.ResponseWriter, r *http.Request) RemoveGopher(w http.ResponseWriter, r *http.Request) }
Server representation of gopher server
Click to show internal directories.
Click to hide internal directories.