api

package
v0.0.0-...-12530a6 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(vocService *services.VocService, validate *validator.Validate) *gin.Engine

Types

type AppHandler

type AppHandler struct{}

func NewAppHandler

func NewAppHandler() *AppHandler

func (*AppHandler) Health

func (h *AppHandler) Health(c *gin.Context)

type VocHandler

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

TODO: Add Context??

func NewVocHandler

func NewVocHandler(vocService *services.VocService, validate *validator.Validate) *VocHandler

func (*VocHandler) CreateVoc

func (h *VocHandler) CreateVoc(c *gin.Context)

func (*VocHandler) DeleteVoc

func (h *VocHandler) DeleteVoc(c *gin.Context)

func (*VocHandler) GetVocs

func (h *VocHandler) GetVocs(c *gin.Context)

func (*VocHandler) UpdateVoc

func (h *VocHandler) UpdateVoc(c *gin.Context)

Jump to

Keyboard shortcuts

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