Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { Register(ctx context.Context, req *pb.RegisterRequest) (*pb.RegisterResponse, error) Login(ctx context.Context, req *pb.LoginRequest) (*pb.LoginResponse, error) RefreshToken(ctx context.Context, req *pb.RefreshTokenRequest) (*pb.RefreshTokenResponse, error) ValidateToken(ctx context.Context, req *pb.ValidateTokenRequest) (*pb.ValidateTokenResponse, error) Logout(ctx context.Context, req *pb.LogoutRequest) (*pb.LogoutResponse, error) }
func New ¶
func New(service service.Service) Controller
Click to show internal directories.
Click to hide internal directories.