handlers

package
v0.0.0-...-499e268 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func API_ask

func API_ask(c *gin.Context)

// # API routes

func API_getConnections

func API_getConnections(c *gin.Context)

func Admin_userAdd

func Admin_userAdd(c *gin.Context)

func Admin_userDel

func Admin_userDel(c *gin.Context)

POST request to delete a user

func Admin_usersGet

func Admin_usersGet(c *gin.Context)

func Client_register

func Client_register(c *gin.Context)

// # Client routes

Types

type Request

type Request struct {
	AdminKey string `json:"admin_key"`
	UserID   string `json:"user_id"`
}

Jump to

Keyboard shortcuts

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