Documentation ¶
Index ¶
- func Band(w http.ResponseWriter, r *http.Request)
- func BandMember(w http.ResponseWriter, r *http.Request)
- func BandMemberCurrent(w http.ResponseWriter, r *http.Request)
- func BandMemberFounder(w http.ResponseWriter, r *http.Request)
- func BandMemberInstrument(w http.ResponseWriter, r *http.Request)
- func BandMemberInstruments(w http.ResponseWriter, r *http.Request)
- func BandMemberName(w http.ResponseWriter, r *http.Request)
- func BandMembers(w http.ResponseWriter, r *http.Request)
- func BandName(w http.ResponseWriter, r *http.Request)
- func BandNames(w http.ResponseWriter, r *http.Request)
- func BandYear(w http.ResponseWriter, r *http.Request)
- func Bands(w http.ResponseWriter, r *http.Request)
- func FavIcon(w http.ResponseWriter, r *http.Request)
- func Root(w http.ResponseWriter, r *http.Request)
- func ServeHTTP(port string, contentDir string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Band ¶
func Band(w http.ResponseWriter, r *http.Request)
Band returns information about the specified band http://localhost:80/bands/bandID
func BandMember ¶
func BandMember(w http.ResponseWriter, r *http.Request)
BandMember returns information about the specified band member http://localhost:80/bands/bandID/members/memberID
func BandMemberCurrent ¶
func BandMemberCurrent(w http.ResponseWriter, r *http.Request)
BandMemberCurrent returns if the specified band member was a founder http://localhost:80/bands/bandID/members/memberID/current
func BandMemberFounder ¶
func BandMemberFounder(w http.ResponseWriter, r *http.Request)
BandMemberFounder returns if the specified band member was a founder http://localhost:80/bands/bandID/members/memberID/founder
func BandMemberInstrument ¶
func BandMemberInstrument(w http.ResponseWriter, r *http.Request)
BandMemberInstrument returns the specified instrument played by the specified band member http://localhost:80/bands/bandID/members/memberID/instruments/instruments
func BandMemberInstruments ¶
func BandMemberInstruments(w http.ResponseWriter, r *http.Request)
BandMemberInstruments returns the instruments played by the specified band member http://localhost:80/bands/bandID/members/memberID/instruments
func BandMemberName ¶
func BandMemberName(w http.ResponseWriter, r *http.Request)
BandMemberName returns the name of the specified band member http://localhost:80/bands/bandID/members/memberID/name
func BandMembers ¶
func BandMembers(w http.ResponseWriter, r *http.Request)
BandMembers returns a list of members in the specified band http://localhost:80/bands/bandID/members
func BandName ¶
func BandName(w http.ResponseWriter, r *http.Request)
BandName returns the name of the specified band http://localhost:80/bands/bandID/name
func BandNames ¶
func BandNames(w http.ResponseWriter, r *http.Request)
BandNames returns the list of band names http://localhost:80/bands/names
func BandYear ¶
func BandYear(w http.ResponseWriter, r *http.Request)
BandYear returns the year the specified band formed http://localhost:80/bands/bandID/year
func Bands ¶
func Bands(w http.ResponseWriter, r *http.Request)
Bands returns the list of bands http://localhost:80/bands
func FavIcon ¶
func FavIcon(w http.ResponseWriter, r *http.Request)
FavIcon - serve up the browser icon
func Root ¶
func Root(w http.ResponseWriter, r *http.Request)
Root handles requests to the root page
func ServeHTTP ¶
ServeHTTP is a blocking call thar starts the web server on the specified port Default URL is http://localhost:80/
Types ¶
This section is empty.