http

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: MIT Imports: 4 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 {
	Ip     string
	Port   uint16
	Server *http.Server
	// contains filtered or unexported fields
}

func NewServer

func NewServer(ip string, port uint16) *Server

func (*Server) Addr

func (s *Server) Addr() (string, uint16)

func (*Server) Close

func (s *Server) Close() error

func (*Server) Run

func (s *Server) Run() error

func (*Server) SetHandler

func (s *Server) SetHandler(handler interface{}) error

Jump to

Keyboard shortcuts

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