controllers

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationController

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

The controller for handling all requests to /api/auth/*.

These routes are for managing authentication/users.

func (*AuthenticationController) Register

func (controller *AuthenticationController) Register(db database.Database, store *session.Store, router fiber.Router)

Registers this controller's routes and handlers to the passed fiber.Router.

type ShortlinkController

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

The controller for handling all requests to /api/shortlink/*.

These routes are for managing shortlinks.

func (*ShortlinkController) Register

func (controller *ShortlinkController) Register(db database.Database, store *session.Store, router fiber.Router)

Registers this controller's routes and handlers to the passed fiber.Router.

Jump to

Keyboard shortcuts

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