Documentation
¶
Overview ¶
Package handlers/handlers.go
Index ¶
- type Handler
- func (h *Handler) CreateOrganization(c *gin.Context)
- func (h *Handler) CreateSubscription(c *gin.Context)
- func (h *Handler) CreateUser(c *gin.Context)
- func (h *Handler) DeleteOrganization(c *gin.Context)
- func (h *Handler) DeleteSubscription(c *gin.Context)
- func (h *Handler) DeleteUser(c *gin.Context)
- func (h *Handler) GetOrganization(c *gin.Context)
- func (h *Handler) GetSubscription(c *gin.Context)
- func (h *Handler) GetUser(c *gin.Context)
- func (h *Handler) UpdateOrganization(c *gin.Context)
- func (h *Handler) UpdateSubscription(c *gin.Context)
- func (h *Handler) UpdateUser(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler is a struct that holds the database connection
func NewHandler ¶
NewHandler creates a new instance of the Handler struct
func (*Handler) CreateOrganization ¶
CreateOrganization creates a new organization
func (*Handler) CreateSubscription ¶
CreateSubscription creates a new subscription
func (*Handler) CreateUser ¶
CreateUser creates a new user
func (*Handler) DeleteOrganization ¶
DeleteOrganization deletes an organization
func (*Handler) DeleteSubscription ¶
DeleteSubscription deletes a subscription
func (*Handler) GetOrganization ¶
GetOrganization retrieves an organization by ID
func (*Handler) GetSubscription ¶
GetSubscription retrieves a subscription by ID
func (*Handler) UpdateOrganization ¶
UpdateOrganization updates an organization
func (*Handler) UpdateSubscription ¶
UpdateSubscription updates a subscription
Click to show internal directories.
Click to hide internal directories.