Implement simple client

This commit is contained in:
Bel LaPointe
2019-03-14 15:20:23 -06:00
parent 1f679f4c06
commit c5b6ad08e4
5 changed files with 152 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ import (
)
func (s *Server) Run() error {
return http.ListenAndServe(s.port, s)
return http.ListenAndServe(s.Port, s)
}
func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {