Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConverter ¶
func NewConverter(authConverter AuthConverter) *converter
func NewRepository ¶
func NewRepository() *inMemoryRepository
func NewService ¶
func NewService(repo WebhookRepository, uidSvc UIDService) *service
Types ¶
type AuthConverter ¶
type UIDService ¶
type UIDService interface {
Generate() string
}
type WebhookRepository ¶
type WebhookRepository interface { GetByID(id string) (*model.ApplicationWebhook, error) ListByApplicationID(applicationID string) ([]*model.ApplicationWebhook, error) Create(item *model.ApplicationWebhook) error Update(item *model.ApplicationWebhook) error Delete(item *model.ApplicationWebhook) error }
Click to show internal directories.
Click to hide internal directories.