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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthRpcServer

type AuthRpcServer struct {
	arpc.UnimplementedAuthServer
	grpcserver.BaseGrpcServer
	// contains filtered or unexported fields
}

func NewAuthRpcServer

func NewAuthRpcServer(
	authService services.AuthService,
	c *config.Config,
	tracer opentracing.Tracer,
	logger *zap.Logger,
) (s *AuthRpcServer)

func (*AuthRpcServer) Listen

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

func (*AuthRpcServer) Login

func (*AuthRpcServer) Signup

func (s *AuthRpcServer) Signup(ctx context.Context, in *arpc.SignupInput) (res *arpc.AuthResponse, err error)

func (*AuthRpcServer) ValidateRpcRequest

Jump to

Keyboard shortcuts

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