Documentation ¶
Index ¶
- type Storage
- func (s *Storage) AllWebhooks() (webhooks []*model.Webhook, err error)
- func (s *Storage) CountRows(webhookId uint32) (uint, error)
- func (s *Storage) Fetch(webhookHash string, target io.Writer) (webhook *model.Webhook, err error)
- func (s *Storage) FlushData(webhookHash string) (result string, err error)
- func (s *Storage) Get(hashStr string) (*model.Webhook, error)
- func (s *Storage) MigrateDb() error
- func (s *Storage) RegisterWebhook(token model.Token, tableId string, conditions model.Conditions) (*model.Webhook, error)
- func (s *Storage) UpdateWebhook(webhookHash string, conditions model.Conditions) (webhook *model.Webhook, err error)
- func (s *Storage) WriteRow(webhookHash string, headers, body string) (webhook *model.Webhook, count uint, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) AllWebhooks ¶
func (*Storage) RegisterWebhook ¶
func (*Storage) UpdateWebhook ¶
Click to show internal directories.
Click to hide internal directories.