Help us shape the future of Go! Take the 2026 Go Developer Survey

document

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package document holds the Hertz handlers of the help documents users read.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryDocumentDetailHandler

func QueryDocumentDetailHandler(service support.Service) app.HandlerFunc

QueryDocumentDetailHandler documents Get document detail.

@Summary Get document detail @Tags user @Accept json @Produce json @Security BearerAuth @Param request query dto.QueryDocumentDetailRequest false "Request parameters" @Success 200 {object} httpx.ResponseSuccessBean{data=dto.Document} @Router /v1/public/document/detail [get]

func QueryDocumentListHandler

func QueryDocumentListHandler(service support.Service) app.HandlerFunc

QueryDocumentListHandler documents Get document list.

@Summary Get document list @Tags user @Produce json @Security BearerAuth @Success 200 {object} httpx.ResponseSuccessBean{data=dto.QueryDocumentListResponse} @Router /v1/public/document/list [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

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