controllers

package
v0.0.0-...-b34fe98 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BookRouter

func BookRouter(r *gin.Engine)

func SearchBooks

func SearchBooks(c *gin.Context)

func StartGin

func StartGin(port string, r *gin.Engine)

func WSRouter

func WSRouter(r *gin.Engine)

func WSSearchBooks

func WSSearchBooks(c *gin.Context)

Types

type Response

type Response struct {
	Status  int         `json:"status"`
	Message string      `json:"msg"`
	Data    interface{} `json:"data"`
}

Jump to

Keyboard shortcuts

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