server

package
v1.6.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.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 TCPServer

type TCPServer struct {
	// contains filtered or unexported fields
}

func NewTCPServer

func NewTCPServer(addrPort string) *TCPServer

func (*TCPServer) Serve

func (s *TCPServer) Serve(handler http.Handler)

type UnixServer

type UnixServer struct {
	// contains filtered or unexported fields
}

func NewUnixServer

func NewUnixServer(sockFile string) *UnixServer

func (*UnixServer) Serve

func (s *UnixServer) Serve(handler http.Handler)

Jump to

Keyboard shortcuts

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