Start writing logout method
All checks were successful
ci/woodpecker/push/build Pipeline was successful

Signed-off-by: Nikolai Rodionov <iam@allanger.xyz>
This commit is contained in:
2026-05-29 11:21:59 +02:00
parent 08087d453f
commit 34d44cf1de
3 changed files with 24 additions and 4 deletions

View File

@@ -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")
}