Documentation
¶
Overview ¶
Package sqlstore persists webhook endpoints and deliveries via database/sql.
Index ¶
- Constants
- type Store
- func (s *Store) CreateEndpoint(ctx context.Context, ep webhookegress.Endpoint) error
- func (s *Store) ListEndpointsByEvent(ctx context.Context, ownerID, eventType string) ([]webhookegress.Endpoint, error)
- func (s *Store) LookupEndpoint(ctx context.Context, id string) (webhookegress.Endpoint, error)
- func (s *Store) PutDelivery(ctx context.Context, d webhookegress.Delivery) error
- func (s *Store) UpdateDelivery(ctx context.Context, d webhookegress.Delivery) error
Constants ¶
View Source
const Schema = `` /* 670-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a SQL adapter.
func (*Store) CreateEndpoint ¶
func (*Store) ListEndpointsByEvent ¶
func (*Store) LookupEndpoint ¶
func (*Store) PutDelivery ¶
func (*Store) UpdateDelivery ¶
Click to show internal directories.
Click to hide internal directories.