service

package
v0.0.0-...-1019c43 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryService

type CategoryService struct {
	proto.UnimplementedCategoryServiceServer
	DB *database.CategoryDB
}

func NewCategoryService

func NewCategoryService(db *database.CategoryDB) *CategoryService

func (*CategoryService) CreateCategory

func (*CategoryService) CreateCategoryInBatch

func (service *CategoryService) CreateCategoryInBatch(stream proto.CategoryService_CreateCategoryInBatchServer) error

func (*CategoryService) DeleteCategoryInBatch

func (service *CategoryService) DeleteCategoryInBatch(stream proto.CategoryService_DeleteCategoryInBatchServer) error

func (*CategoryService) FindAll

func (*CategoryService) UpdateCategory

Jump to

Keyboard shortcuts

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