Documentation ¶ Index ¶ type Server func NewServer() *Server func (s *Server) PrintFile(fileName string) func (s *Server) Printf(format string, a ...any) func (s *Server) Println(msg string) func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) func (s *Server) Start() func (s *Server) Stop() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Server ¶ type Server struct { URL string // contains filtered or unexported fields } func NewServer ¶ func NewServer() *Server func (*Server) PrintFile ¶ func (s *Server) PrintFile(fileName string) func (*Server) Printf ¶ func (s *Server) Printf(format string, a ...any) func (*Server) Println ¶ func (s *Server) Println(msg string) func (*Server) ServeHTTP ¶ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) func (*Server) Start ¶ func (s *Server) Start() func (*Server) Stop ¶ func (s *Server) Stop() Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.