grpc

package
v0.0.0-...-4e6b079 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPC

type GRPC struct {
	gen.UnimplementedUserServer
	// contains filtered or unexported fields
}

func New

func New(userSvc user.API, logger logger.Logger, host string, port int) *GRPC

func (*GRPC) GetUserEmail

func (g *GRPC) GetUserEmail(ctx context.Context, request *gen.GetUserEmailRequest) (*gen.GetUserEmailResponse, error)

func (*GRPC) Run

func (g *GRPC) Run(ctx context.Context) error

func (*GRPC) Stop

func (g *GRPC) Stop()

Jump to

Keyboard shortcuts

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