ratings

package
v0.0.0-...-59b6e81 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RateController

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

func NewController

func NewController(rateRepository repository.RateRepository) RateController

func (RateController) Dismiss

func (rc RateController) Dismiss(w http.ResponseWriter, r *http.Request)

func (RateController) Rate

func (RateController) Unrate

func (rc RateController) Unrate(w http.ResponseWriter, r *http.Request)

type Response

type Response struct {
	Value int64 `json:"value"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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