internal

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestHandler

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

func NewRequestHandler

func NewRequestHandler(instanceName string) *RequestHandler

func (*RequestHandler) HandlePing

func (h *RequestHandler) HandlePing(w http.ResponseWriter, r *http.Request)

func (*RequestHandler) HandleRootRequest

func (h *RequestHandler) HandleRootRequest(w http.ResponseWriter, r *http.Request)

type Server

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

func NewServer

func NewServer(instanceName string) *Server

func (*Server) Serve

func (s *Server) Serve(host, port string)

Serve will make a server start listening on provided host and port

Jump to

Keyboard shortcuts

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