Documentation ¶ Index ¶ type Server func NewServer(host string, port int, pagePath string) *Server func (s *Server) Serve() error func (s *Server) ServeAPI(w http.ResponseWriter, r *http.Request) func (s *Server) ServeIndex(w http.ResponseWriter, r *http.Request) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func NewServer ¶ func NewServer(host string, port int, pagePath string) *Server func (*Server) Serve ¶ func (s *Server) Serve() error func (*Server) ServeAPI ¶ func (s *Server) ServeAPI(w http.ResponseWriter, r *http.Request) func (*Server) ServeIndex ¶ func (s *Server) ServeIndex(w http.ResponseWriter, r *http.Request) Source Files ¶ View all Source files page.go serve.go Click to show internal directories. Click to hide internal directories.