Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) ListAll ¶
func (c *Controller) ListAll(companyID uuid.UUID) (*[]webhook.ResponseWebhook, error)
type IController ¶
type IController interface { ListAll(companyID uuid.UUID) (*[]webhook.ResponseWebhook, error) Create(wh *webhook.Webhook) (uuid.UUID, error) Update(wh *webhook.Webhook) error Remove(webhookID uuid.UUID) error }
func NewController ¶
func NewController(databaseWrite SQL.InterfaceWrite, databaseRead SQL.InterfaceRead) IController
Click to show internal directories.
Click to hide internal directories.