http_evert

package
v0.0.0-...-fefa7e6 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRouter

func InitRouter(e *gin.RouterGroup)

ShowAccount godoc @Summary Show an account @Description get string by ID @Tags accounts @Accept json @Produce json @Param id path int true "Account ID" @Router /accounts/{id} [get]

Types

type DocController

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

func NewDocController

func NewDocController() *DocController

func (*DocController) FormatDoc

func (DC *DocController) FormatDoc(c *gin.Context)

type DocRequest

type DocRequest struct {
	File *multipart.FileHeader `form:"file" binding:"required"`
	FileParams
}

type FileParams

type FileParams struct {
	AddSpacesBeetweenImageText bool `form:"add_spaces_beetween_image_text" binding:"required"`
	FormatImageDescription     bool `form:"format_image_description" binding:"required"`
}

Jump to

Keyboard shortcuts

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