server

package
v0.0.0-...-6f16600 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: GPL-3.0 Imports: 27 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 {
	HashMap *hash.HashMap
	// contains filtered or unexported fields
}

func New

func New() *Server

func (*Server) APIListHandler

func (s *Server) APIListHandler(w http.ResponseWriter, r *http.Request)

func (*Server) APIMoveHandler

func (s *Server) APIMoveHandler(w http.ResponseWriter, r *http.Request)

func (*Server) GetHandler

func (s *Server) GetHandler(w http.ResponseWriter, r *http.Request)

GetHandler Handle GET Requests

func (*Server) HealthLiveness

func (s *Server) HealthLiveness(w http.ResponseWriter, r *http.Request)

func (*Server) HealthReadiness

func (s *Server) HealthReadiness(w http.ResponseWriter, r *http.Request)

func (*Server) PutHandler

func (s *Server) PutHandler(w http.ResponseWriter, r *http.Request)

PutHandler Upload handler used frm CLI

func (*Server) Run

func (s *Server) Run() error

func (*Server) UIHandler

func (s *Server) UIHandler() func(w http.ResponseWriter, r *http.Request)

func (*Server) UIRedirect

func (s *Server) UIRedirect(w http.ResponseWriter, r *http.Request)

func (*Server) UploadFormHandler

func (s *Server) UploadFormHandler(w http.ResponseWriter, r *http.Request)

UploadFormHandler Upload handler used by HTML Forms

Jump to

Keyboard shortcuts

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