Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceInterface ¶
ServiceInterface ...
type WebhooksService ¶
type WebhooksService struct {
// contains filtered or unexported fields
}
WebhooksService ...
func NewWebhooksService ¶
func NewWebhooksService(server IServer, producer IProducer) *WebhooksService
NewWebhooksService ...
func (*WebhooksService) PublishMessage ¶
func (s *WebhooksService) PublishMessage(data []byte) error
PublishMessage ...
func (*WebhooksService) Start ¶
func (s *WebhooksService) Start() error
Start starts the service. Start will block.
func (*WebhooksService) Stop ¶
func (s *WebhooksService) Stop()
Stop attempts to gracefully stop the service. It also closes any open connection that remains to the producer.
Click to show internal directories.
Click to hide internal directories.