service

package
v0.0.0-...-f677a5a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TagsService

type TagsService interface {
	Create(tags request.CreateTagsRequest)
	Update(tags request.UpdateTagsRequest)
	Delete(tagsId int)
	FindById(tagsId int) response.TagsResponse
	FindAll() []response.TagsResponse
}

func NewTagServiceImpl

func NewTagServiceImpl(tagRepository repository.TagsRepository, validate *validator.Validate) TagsService

type TagsServiceImpl

type TagsServiceImpl struct {
	TagsRepository repository.TagsRepository
	Validate       *validator.Validate
}

func (TagsServiceImpl) Create

func (TagsServiceImpl) Delete

func (t TagsServiceImpl) Delete(tagId int)

func (TagsServiceImpl) FindAll

func (t TagsServiceImpl) FindAll() []response.TagsResponse

func (TagsServiceImpl) FindById

func (t TagsServiceImpl) FindById(tagId int) response.TagsResponse

func (TagsServiceImpl) Update

type UserService

type UserService interface {
	Signup(user request.CreateUserRequest)
	Signin(signin request.SigninRequest) response.TokenResponse
}

func NewUserServiceImpl

func NewUserServiceImpl(userRepository repository.UserRepository, validate *validator.Validate) UserService

type UserServiceImpl

type UserServiceImpl struct {
	UserRepository repository.UserRepository
	Validate       *validator.Validate
}

func (UserServiceImpl) Signin

func (UserServiceImpl) Signup

func (u UserServiceImpl) Signup(user request.CreateUserRequest)

Jump to

Keyboard shortcuts

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