Versions in this module Expand all Collapse all v0 v0.1.1 Jun 25, 2026 v0.1.0 Jun 25, 2026 Changes in this version + func Sign(secret string, ts int64, body []byte) string + func Verify(secret, signature string, body []byte) bool + type Delivery struct + At time.Time + Attempt int + Error string + Event string + ID string + Status int + SubID string + Succeeded bool + type Service struct + func FromKernel(k *togo.Kernel) (*Service, bool) + func (s *Service) Deliveries() []Delivery + func (s *Service) Send(ctx context.Context, event string, payload any) error + func (s *Service) Subscribe(url string, events []string, secret string) *Subscription + func (s *Service) Subscriptions() []Subscription + func (s *Service) Unsubscribe(id string) + type Subscription struct + Active bool + Events []string + ID string + Secret string + URL string