Documentation ¶
Index ¶
- Constants
- func NewService(ctx gousu.IContext) gousu.IService
- type IService
- type Service
- func (s *Service) Ack(msg *stomp.Message) error
- func (s *Service) Health() error
- func (s *Service) Name() string
- func (s *Service) PublishToQueue(queue string, contentType string, body []byte) error
- func (s *Service) Start() error
- func (s *Service) Stop() error
- func (s *Service) SubscribeToQueue(queue string) (chan *stomp.Message, *stomp.Subscription, error)
Constants ¶
View Source
const ServiceName = "stomp"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) PublishToQueue ¶
func (*Service) SubscribeToQueue ¶
Click to show internal directories.
Click to hide internal directories.