routes

package
v0.0.0-...-e92e447 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseRouter

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

func NewBaseRouter

func NewBaseRouter(app *fiber.App, handlers BasicHandlers) *BaseRouter

func (*BaseRouter) Start

func (br *BaseRouter) Start()

type BasicHandlers

type BasicHandlers interface {
	Base(ctx *fiber.Ctx) error
}

type UserHandlers

type UserHandlers interface {
	GetUserV1(c *fiber.Ctx) error
	CreateUserV1(c *fiber.Ctx) error
	DeactivateUserV1(c *fiber.Ctx) error
}

type UserRouter

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

func NewUserRouter

func NewUserRouter(app *fiber.App, handlers UserHandlers) *UserRouter

func (*UserRouter) Start

func (br *UserRouter) Start()

Jump to

Keyboard shortcuts

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