Start writing logout method
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Signed-off-by: Nikolai Rodionov <iam@allanger.xyz>
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"gitea.badhouseplants.net/softplayer/softplayer-backend/internal/controllers"
|
||||
accounts "gitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg/accounts/v1"
|
||||
"google.golang.org/protobuf/types/known/emptypb"
|
||||
)
|
||||
|
||||
func NewAccountServer(
|
||||
@@ -15,8 +18,25 @@ func NewAccountServer(
|
||||
}
|
||||
}
|
||||
|
||||
//var _ accounts.AccountsServiceServer = (*AccountsServer)(nil)
|
||||
|
||||
type AccountsServer struct {
|
||||
accounts.UnimplementedAccountsServiceServer
|
||||
accountsCtrl *controllers.AccountController
|
||||
authorizationCtrl *controllers.AuthController
|
||||
}
|
||||
|
||||
// IsEmailVerified implements [v1.AccountsServiceServer].
|
||||
func (a *AccountsServer) IsEmailVerified(context.Context, *accounts.IsEmailVerifiedRequest) (*accounts.IsEmailVerifiedResponse, error) {
|
||||
panic("unimplemented")
|
||||
}
|
||||
|
||||
// RemoveSession implements [v1.AccountsServiceServer].
|
||||
func (a *AccountsServer) RemoveSession(context.Context, *accounts.RemoveSessionRequest) (*emptypb.Empty, error) {
|
||||
panic("unimplemented")
|
||||
}
|
||||
|
||||
// TokenAuthorization implements [v1.AccountsServiceServer].
|
||||
func (a *AccountsServer) TokenAuthorization(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
|
||||
panic("unimplemented")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user