controllers

package
v0.0.0-...-6a62363 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserController

type UserController struct {
	UserService service.IUserService
}

UserController is a controller for user

func NewUserController

func NewUserController(userService service.IUserService) UserController

NewUserController creates a new user controller

func (*UserController) GetUserByName

func (u *UserController) GetUserByName(c *fiber.Ctx) error

GetUserByName returns a user by name

Jump to

Keyboard shortcuts

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