httpx

package
v0.0.0-...-df727ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Router *gin.Engine
	// contains filtered or unexported fields
}

Server is an HTTP server.

func NewServer

func NewServer() (*Server, error)

NewServer is used to create a new HTTP server.

func (*Server) Start

func (s *Server) Start(ctx contextx.Contextx) error

Start is used to start the server.

func (*Server) Stop

func (s *Server) Stop(ctx contextx.Contextx) error

Stop is used to stop the server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL