Documentation ¶ Index ¶ type Server func NewServer(opts ...ServerOption) *Server func (s *Server) Endpoint() (*url.URL, error) func (s *Server) Start(ctx context.Context) error func (s *Server) Stop(ctx context.Context) error type ServerOption Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Server ¶ type Server struct { *hertz.Hertz // contains filtered or unexported fields } func NewServer ¶ func NewServer(opts ...ServerOption) *Server func (*Server) Endpoint ¶ func (s *Server) Endpoint() (*url.URL, error) func (*Server) Start ¶ func (s *Server) Start(ctx context.Context) error func (*Server) Stop ¶ func (s *Server) Stop(ctx context.Context) error type ServerOption ¶ type ServerOption func(s *Server) Source Files ¶ View all Source files hertz.go Click to show internal directories. Click to hide internal directories.