httphandler

package
v0.0.0-...-c858694 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package httphandler contains an API handler for issues.Service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Issues

type Issues struct {
	Issues issues.Service
}

Issues is an API handler for issues.Service. It returns errors compatible with httperror package.

func (Issues) Count

func (h Issues) Count(w http.ResponseWriter, req *http.Request) error

func (Issues) Create

func (h Issues) Create(w http.ResponseWriter, req *http.Request) error

func (Issues) CreateComment

func (h Issues) CreateComment(w http.ResponseWriter, req *http.Request) error

func (Issues) Edit

func (h Issues) Edit(w http.ResponseWriter, req *http.Request) error

func (Issues) EditComment

func (h Issues) EditComment(w http.ResponseWriter, req *http.Request) error

func (Issues) Get

func (h Issues) Get(w http.ResponseWriter, req *http.Request) error

func (Issues) List

func (h Issues) List(w http.ResponseWriter, req *http.Request) error

func (Issues) ListTimeline

func (h Issues) ListTimeline(w http.ResponseWriter, req *http.Request) error

func (Issues) ThreadType

func (h Issues) ThreadType(w http.ResponseWriter, req *http.Request) error

Jump to

Keyboard shortcuts

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