server

package
v0.0.0-...-002919c Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 2 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 {
	Host string
	Port int
	// contains filtered or unexported fields
}

func New

func New(handler http.Handler, host string, port int) *Server

New start

func (*Server) Run

func (s *Server) Run() error

Run server run

func (*Server) RunTLS

func (s *Server) RunTLS() error

Jump to

Keyboard shortcuts

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