mod

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const MaxReasonLength = 2000

Variables

This section is empty.

Functions

func Mount

func Mount(srv *server.Server, r chi.Router)

func MustAdmin

func MustAdmin(next http.Handler) http.Handler

Types

type CreateReportRequest

type CreateReportRequest struct {
	Reason string `json:"reason"`
}

type Server

type Server struct {
	*server.Server
}

Jump to

Keyboard shortcuts

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