api

package
v0.0.0-...-e928cbb Latest Latest
Warning

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

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

README

API Docs

Routing Docs

Action Verb Path Description
Create POST /users Create a new user
List GET /users List all the users
Read GET /users/<id> Get a single user
Update PUT /users/<id> Update a single user
Delete DELETE /users/<id> Delete a single user

Documentation

Overview

api package handles interactions with the database It checks the endpoints and determines which actions to take depending on the HTTP request.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() *http.ServeMux

Types

This section is empty.

Jump to

Keyboard shortcuts

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