Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemServiceServer ¶
type ItemServiceServer struct { Conn *pgx.Conn pb.UnimplementedItemServiceServer }
func NewCategoryServer ¶
func NewCategoryServer() *ItemServiceServer
func (*ItemServiceServer) CreateNewCategory ¶
func (server *ItemServiceServer) CreateNewCategory(ctx context.Context, in *pb.NewCategory) (*pb.Category, error)
func (*ItemServiceServer) GetCategories ¶
func (server *ItemServiceServer) GetCategories(ctx context.Context, in *pb.GetCategoriesParams) (*pb.CategoriesList, error)
func (*ItemServiceServer) Run ¶
func (server *ItemServiceServer) Run() error
Click to show internal directories.
Click to hide internal directories.