Documentation ¶
Index ¶
- type AuthRpcServer
- func (s *AuthRpcServer) Listen(ctx context.Context, cancel context.CancelFunc)
- func (s *AuthRpcServer) Login(ctx context.Context, in *arpc.LoginInput) (*arpc.AuthResponse, error)
- func (s *AuthRpcServer) Signup(ctx context.Context, in *arpc.SignupInput) (res *arpc.AuthResponse, err error)
- func (s *AuthRpcServer) ValidateRpcRequest(ctx context.Context, in *arpc.ValidateRpcRequestInput) (*arpc.ValidationResponse, error)
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 (s *AuthRpcServer) Login(ctx context.Context, in *arpc.LoginInput) (*arpc.AuthResponse, error)
func (*AuthRpcServer) Signup ¶
func (s *AuthRpcServer) Signup(ctx context.Context, in *arpc.SignupInput) (res *arpc.AuthResponse, err error)
func (*AuthRpcServer) ValidateRpcRequest ¶
func (s *AuthRpcServer) ValidateRpcRequest(ctx context.Context, in *arpc.ValidateRpcRequestInput) (*arpc.ValidationResponse, error)
Click to show internal directories.
Click to hide internal directories.