Documentation ¶ Index ¶ type Server func New(svc *svc.ServiceContext, addr string, tlsConfig *tls.Config) *Server func (s *Server) Engine() *server.Hertz func (s *Server) Shutdown(ctx context.Context) error func (s *Server) Start() 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 New ¶ func New(svc *svc.ServiceContext, addr string, tlsConfig *tls.Config) *Server func (*Server) Engine ¶ func (s *Server) Engine() *server.Hertz func (*Server) Shutdown ¶ func (s *Server) Shutdown(ctx context.Context) error func (*Server) Start ¶ func (s *Server) Start() Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.