grpc

package
v0.0.0-...-39992ae Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PicturesRpcServer

type PicturesRpcServer struct {
	prpc.UnimplementedPicturesServer
	grpcserver.BaseGrpcServer
	// contains filtered or unexported fields
}

func NewPicturesRpcServer

func NewPicturesRpcServer(
	picturesService services.PictureService,
	c *config.Config,
	tracer opentracing.Tracer,
	logger *zap.Logger,
) (s *PicturesRpcServer)

func (*PicturesRpcServer) CreateUserPicture

func (*PicturesRpcServer) DeleteUserPicture

func (s *PicturesRpcServer) DeleteUserPicture(ctx context.Context, in *prpc.DeleteUserPictureRequest) (*emptypb.Empty, error)

func (*PicturesRpcServer) GetUserPicture

func (*PicturesRpcServer) GetUserPictures

func (*PicturesRpcServer) Listen

func (s *PicturesRpcServer) Listen(ctx context.Context, cancel context.CancelFunc)

Jump to

Keyboard shortcuts

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