api

package
v0.0.0-...-fb9bc76 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BanHandler

func BanHandler() gin.HandlerFunc

func CommentsHandler

func CommentsHandler() gin.HandlerFunc

func LighthouseUserSearchApiHandler

func LighthouseUserSearchApiHandler() gin.HandlerFunc

func LighthouseUsersApiHandler

func LighthouseUsersApiHandler() gin.HandlerFunc

func LogoutHandler

func LogoutHandler() gin.HandlerFunc

func NoticeDismissHandler

func NoticeDismissHandler() gin.HandlerFunc

func NoticeSubmitHandler

func NoticeSubmitHandler() gin.HandlerFunc

func OAuthCallbackHandler

func OAuthCallbackHandler() gin.HandlerFunc

func PostCommentHandler

func PostCommentHandler() gin.HandlerFunc

func ReportDismissHandler

func ReportDismissHandler() gin.HandlerFunc

func ReportOpenHandler

func ReportOpenHandler() gin.HandlerFunc

func SubmitReportHandler

func SubmitReportHandler() gin.HandlerFunc

Types

type BanModel

type BanModel struct {
	IP       string
	Duration int
	Reason   string
}

type BanResponse

type BanResponse struct {
	Success bool
	Message string
}

type ReportURI

type ReportURI struct {
	ReportUUID string `uri:"uuid" binding:"required"`
}

Jump to

Keyboard shortcuts

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