controllers

package
v0.0.0-...-ab59889 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthController

type AuthController struct {
	Service Services.AuthService
}

func (AuthController) Login

func (v AuthController) Login(c *gin.Context)

func (AuthController) Logout

func (v AuthController) Logout(c *gin.Context)

func (AuthController) Register

func (v AuthController) Register(c *gin.Context)

type NotesController

type NotesController struct {
	Service Services.NotesService
}

func (NotesController) CreateNote

func (v NotesController) CreateNote(c *gin.Context)

func (NotesController) DeleteNote

func (v NotesController) DeleteNote(c *gin.Context)

func (NotesController) GetNotes

func (v NotesController) GetNotes(c *gin.Context)

func (NotesController) GetSingleNote

func (v NotesController) GetSingleNote(c *gin.Context)

func (NotesController) UpdateNote

func (v NotesController) UpdateNote(c *gin.Context)

Jump to

Keyboard shortcuts

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