Documentation
¶
Index ¶
- type BatchCreateParams
- type EventTransactionCreateParamsData
- type EventTransferStatusCreateParamsData
- type Service
- func (s *Service) BatchCreate(ctx context.Context, params []BatchCreateParams, opts ...repos.Option) error
- func (s *Service) Delete(ctx context.Context, id uuid.UUID) error
- func (s *Service) EventTransactionCreateParams(ctx context.Context, params EventTransactionCreateParamsData) (BatchCreateParams, error)
- func (s *Service) EventTransferStatusCreateParams(ctx context.Context, params EventTransferStatusCreateParamsData) (BatchCreateParams, error)
- func (s *Service) WebhookServer() svc.IService
- type TransactionData
- type TransactionEventData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchCreateParams ¶
type BatchCreateParams = repo_webhooks.CreateParams
type EventTransactionCreateParamsData ¶
type EventTransactionCreateParamsData struct { Blockchain wconstants.BlockchainType Tx TransactionData Event TransactionEventData WebhookKind models.WebhookKind WalletType constants.WalletType WebhookStatus models.WebhookEventStatus OwnerID uuid.UUID ExternalWalletID *string IsSystem bool }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) BatchCreate ¶
func (s *Service) BatchCreate(ctx context.Context, params []BatchCreateParams, opts ...repos.Option) error
BatchCreate creates multiple webhooks in batch.
func (*Service) EventTransactionCreateParams ¶
func (s *Service) EventTransactionCreateParams(ctx context.Context, params EventTransactionCreateParamsData) (BatchCreateParams, error)
EventTransactionCreateParams returns create params for a transaction event.
func (*Service) EventTransferStatusCreateParams ¶
func (s *Service) EventTransferStatusCreateParams(ctx context.Context, params EventTransferStatusCreateParamsData) (BatchCreateParams, error)
EventTransferStatusCreateParams returns create params for a transfer status event.
func (*Service) WebhookServer ¶
type TransactionData ¶
Click to show internal directories.
Click to hide internal directories.