README ¶ gyperhttp Library for superfast http server using fasthttp & netpool Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Listen(proto, addr string) (net.Listener, error) type Server func (s *Server) ListenAndServe(addr string) error func (s *Server) ListenAndServeTLS(addr string, certFile string, keyFile string) error func (s *Server) ListenAndServeTLSEmbed(addr string, certData []byte, keyData []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Listen ¶ func Listen(proto, addr string) (net.Listener, error) Types ¶ type Server ¶ type Server struct { fasthttp.Server } func (*Server) ListenAndServe ¶ func (s *Server) ListenAndServe(addr string) error func (*Server) ListenAndServeTLS ¶ func (s *Server) ListenAndServeTLS(addr string, certFile string, keyFile string) error func (*Server) ListenAndServeTLSEmbed ¶ func (s *Server) ListenAndServeTLSEmbed(addr string, certData []byte, keyData []byte) error Source Files ¶ View all Source files listener.goserver.go Click to show internal directories. Click to hide internal directories.