web

package
v0.0.0-...-ee7ea3e Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 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 Server

type Server struct {
	MongoDB *mongodb.MongoDB
}

func New

func New(mongoDB *mongodb.MongoDB) *Server

func (*Server) Count

func (s *Server) Count(writer http.ResponseWriter, request *http.Request, ps httprouter.Params)

func (*Server) Delete

func (s *Server) Delete(writer http.ResponseWriter, request *http.Request, ps httprouter.Params)

func (*Server) Insert

func (s *Server) Insert(writer http.ResponseWriter, request *http.Request, ps httprouter.Params)

func (*Server) List

func (s *Server) List(writer http.ResponseWriter, request *http.Request, ps httprouter.Params)

func (*Server) Paginate

func (s *Server) Paginate(writer http.ResponseWriter, equest *http.Request, ps httprouter.Params)

func (*Server) Query

func (s *Server) Query(writer http.ResponseWriter, request *http.Request, ps httprouter.Params)

func (*Server) Replace

func (s *Server) Replace(writer http.ResponseWriter, request *http.Request, ps httprouter.Params)

func (*Server) Show

func (s *Server) Show(writer http.ResponseWriter, _ *http.Request, ps httprouter.Params)

func (*Server) Update

func (s *Server) Update(writer http.ResponseWriter, request *http.Request, ps httprouter.Params)

Jump to

Keyboard shortcuts

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