user

package
v0.0.0-...-3f65518 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDBUserToProtoUser

func SetDBUserToProtoUser(user *models.User) (*messages.User, error)

Types

type Service

type Service struct{}

func (*Service) CreateUser

func (s *Service) CreateUser(ctx context.Context, user *messages.User) (*proto.AuthResponse, error)

func (*Service) GetUser

func (s *Service) GetUser(ctx context.Context, req *proto.AuthenticateRequest) (*proto.GetUserResponse, error)

Jump to

Keyboard shortcuts

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