Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(setters ...Setter) (*HttpServer, error)
func (*HttpServer) Close ¶
func (s *HttpServer) Close()
func (*HttpServer) Run ¶
func (s *HttpServer) Run()
func (*HttpServer) Running ¶
func (s *HttpServer) Running() bool
type Setter ¶
type Setter func(server *HttpServer) error
func WithEngine ¶
func WithLogger ¶
func WithOption ¶
Click to show internal directories.
Click to hide internal directories.