proto + grpc handler
This commit is contained in:
parent
a72002540d
commit
37041fc8fe
15 changed files with 942 additions and 14 deletions
18
internal/mainHandler/service.go
Normal file
18
internal/mainHandler/service.go
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
package mainHandler
|
||||
|
||||
import (
|
||||
"context"
|
||||
pb "imageStorage/pkg/proto/imageStorage"
|
||||
)
|
||||
|
||||
func (i *ImageHandler) UploadImage(ctx context.Context, req *pb.UploadImageRequest) (*pb.UploadImageResponse, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (i *ImageHandler) GetImage(ctx context.Context, req *pb.GetImageRequest) (*pb.GetImageResponse, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (i *ImageHandler) DeleteImage(ctx context.Context, req *pb.DeleteImageRequest) (*pb.GetImageResponse, error) {
|
||||
return nil, nil
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue