grpc

package
v0.0.0-...-56eb26a Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 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 Config

type Config struct {
	corpus.GRPCConfig
}

type GRPC

type GRPC struct {
	corpus.GRPC[*model.Profile]

	pb.UnimplementedLocationServiceServer
	// contains filtered or unexported fields
}

func New

func New(cfg Config, svc *service.Service, log *otelzap.Logger) *GRPC

func (*GRPC) GetLocation

func (g *GRPC) GetLocation(ctx context.Context, request *pb.GetLocationRequest) (*pb.GetLocationResponse, error)

Jump to

Keyboard shortcuts

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