Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandlers ¶
type AuthHandlers interface { SignUp(c *fiber.Ctx) error SignIn(c *fiber.Ctx) error GetUser(c *fiber.Ctx) error DeleteUser(c *fiber.Ctx) error ChangeUserRole(c *fiber.Ctx) error UpdateUserPassword(c *fiber.Ctx) error UpdateUserEmail(c *fiber.Ctx) error UpdateUserName(c *fiber.Ctx) error ListUsers(c *fiber.Ctx) error }
AuthHandlers is the interface of the authentication operation.
func NewAuthHandlers ¶
func NewAuthHandlers(authSvcClient pb.AuthServiceClient) AuthHandlers
NewAuthHandlers creates a new AuthHandlers instance.
type VulnHandlers ¶
type VulnHandlers interface { AddCVE(c *fiber.Ctx) error SearchCVE(c *fiber.Ctx) error GetAllCVEs(c *fiber.Ctx) error DeleteCVE(c *fiber.Ctx) error UpdateCVE(c *fiber.Ctx) error FetchNVDFeeds(c *fiber.Ctx) error }
VulnHandlers is the interface of the vulnerability operation.
func NewVulnHandlers ¶
func NewVulnHandlers(authSvcClient pb.AuthServiceClient, vulnSvcClient pb.VulnServiceClient) VulnHandlers
NewAuthHandlers creates a new VulnHandlers instance.
Click to show internal directories.
Click to hide internal directories.