Documentation ¶
Index ¶
- Constants
- Variables
- type Repo
- func (r Repo) Close()
- func (w Repo) DeleteWebhook(ctx context.Context, cirlceId string) (time.Time, error)
- func (d Repo) GetDummy(ctx context.Context, dummyID string) (model.Dummy, error)
- func (w Repo) GetWebhookByCircleId(ctx context.Context, cirlceId string) (model.Webhook, error)
- func (r Repo) TxManager() repository.TxManager
- func (w Repo) UpsertWebhook(ctx context.Context, webhook model.Webhook) error
Constants ¶
View Source
const ( TableDummies = "Dummies" TableWebhooks = "Webhooks" )
Variables ¶
View Source
var DBErrNotFound = errs.Errorf(errs.CodeDBNotFound)
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (Repo) DeleteWebhook ¶
func (Repo) GetWebhookByCircleId ¶
func (Repo) TxManager ¶
func (r Repo) TxManager() repository.TxManager
Click to show internal directories.
Click to hide internal directories.