http

package
v0.0.0-...-350df58 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler defines a rating service controller.

func New

func New(ctrl *rating.Controller) *Handler

New creates a new rating service HTTP handler.

func (*Handler) Handle

func (h *Handler) Handle(w http.ResponseWriter, req *http.Request)

Handle handles PUT and GET /raing requests.

Jump to

Keyboard shortcuts

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