http

package
v0.0.0-...-d04cd99 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Addr             string
	RpcAddr          string
	UsersServiceAddr string
	DataPath         string
}

type Server

type Server struct {
	*http.Server
	// contains filtered or unexported fields
}

func New

func New(cfg Config) *Server

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(_ context.Context, wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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