httpserver

package
v0.0.0-...-cf93416 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

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
}

HTTPServer describes the server instance.

func New

func New(address, port string, logger logging.Logger) *HTTPServer

New return new http server object.

func (*HTTPServer) Listen

func (s *HTTPServer) Listen()

Listen starts serve port.

func (*HTTPServer) Stop

func (s *HTTPServer) Stop()

Stop server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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