Documentation ¶
Index ¶
- type AuthService
- func (s *AuthService) CloseDocumentDB()
- func (s *AuthService) CloseGraphDB()
- func (s *AuthService) GetGraphDB() neo4j.SessionWithContext
- func (s *AuthService) Login(ctx context.Context, req *protos.LoginRequest) (*protos.LoginResponse, error)
- func (s *AuthService) Register(ctx context.Context, req *protos.RegisterRequest) (*protos.RegisterResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct { protos.UnimplementedAuthServiceServer Ctx context.Context Env models.Environment GraphDB *neo4j.SessionWithContext DocumentDB *mongo.Client }
func (*AuthService) CloseDocumentDB ¶
func (s *AuthService) CloseDocumentDB()
func (*AuthService) CloseGraphDB ¶
func (s *AuthService) CloseGraphDB()
func (*AuthService) GetGraphDB ¶
func (s *AuthService) GetGraphDB() neo4j.SessionWithContext
GetGraphDB they did it with a fucking interface instead of a struct, therefore I cannot access it with pointers
func (*AuthService) Login ¶
func (s *AuthService) Login(ctx context.Context, req *protos.LoginRequest) (*protos.LoginResponse, error)
func (*AuthService) Register ¶
func (s *AuthService) Register(ctx context.Context, req *protos.RegisterRequest) (*protos.RegisterResponse, error)
Click to show internal directories.
Click to hide internal directories.