http

package
v0.0.0-...-680eada Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

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

func NewConnection

func NewConnection(server *Server, log zerolog.Logger, documentName string, wsConn *websocket.Conn) *Connection

func (*Connection) Close

func (self *Connection) Close() error

func (*Connection) ReadLoop

func (self *Connection) ReadLoop()

type Server

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

func NewServer

func NewServer(log zerolog.Logger, port uint16, registry *document.RegistryClientFactory) *Server

func (*Server) ConnectionClosed

func (self *Server) ConnectionClosed(conn *Connection)

func (*Server) Listen

func (self *Server) Listen()

func (*Server) ServeHTTP

func (self *Server) ServeHTTP(writer http.ResponseWriter, request *http.Request)

func (*Server) Shutdown

func (self *Server) Shutdown()

Jump to

Keyboard shortcuts

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