Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFilename ¶
Types ¶
type DiscordService ¶
type DiscordService struct {
// contains filtered or unexported fields
}
func NewDiscordService ¶
func NewDiscordService(logger *zap.Logger) *DiscordService
func (*DiscordService) SendWebhook ¶
type LocalStorageService ¶
type LocalStorageService struct {
// contains filtered or unexported fields
}
func (*LocalStorageService) SaveRequest ¶
func (lss *LocalStorageService) SaveRequest(body []byte, path string) error
type NilStorageService ¶
type NilStorageService struct { }
func (*NilStorageService) SaveRequest ¶
func (nss *NilStorageService) SaveRequest(body []byte, path string) error
type OpenProjectService ¶
type OpenProjectService struct {
// contains filtered or unexported fields
}
func NewOpenProjectService ¶
func NewOpenProjectService(logger *zap.Logger) *OpenProjectService
func (*OpenProjectService) GetWorkPackagePayload ¶
func (ops *OpenProjectService) GetWorkPackagePayload(payload openproject.WorkPackageWebhookPayload) (discord.Webhook, error)
func (*OpenProjectService) ValidateSignature ¶
type S3StorageService ¶
type S3StorageService struct {
// contains filtered or unexported fields
}
func NewS3StorageService ¶
func NewS3StorageService(logger *zap.Logger, secure bool, bucketName, region, endpoint, accessKey, secretKey string) *S3StorageService
func (*S3StorageService) SaveRequest ¶
func (s3 *S3StorageService) SaveRequest(body []byte, path string) error
type StorageService ¶
func NewStorageService ¶
type WebhookService ¶
type WebhookService struct {
// contains filtered or unexported fields
}
func NewWebhookService ¶
func NewWebhookService(logger *zap.Logger) *WebhookService
func (*WebhookService) GetWebhook ¶
func (ws *WebhookService) GetWebhook(webhookName string) (config.Webhook, error)
Click to show internal directories.
Click to hide internal directories.