Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatAddress ¶
Types ¶
type Message ¶
type Message struct { Postfix string Msg types.StreamData }
type MessageChannel ¶
type MessageChannel chan Message
type PublisherConfig ¶
type PublisherConfig struct {
SubjectPrefix string
}
type PublisherService ¶
type PublisherService struct {
// contains filtered or unexported fields
}
func NewPublisherService ¶
func NewPublisherService(s *svcn.NatsService, ctx context.Context, cfg PublisherConfig, msgChan MessageChannel) *PublisherService
func (PublisherService) Serve ¶
func (s PublisherService) Serve()
type SubscriberConfig ¶
type SubscriberConfig struct{}
type SubscriberService ¶
type SubscriberService struct {
// contains filtered or unexported fields
}
func NewSubscriberService ¶
func NewSubscriberService(s *svcn.NatsService, ctx context.Context, cfg SubscriberConfig, msgChan MessageChannel) *SubscriberService
func (SubscriberService) ProcessTxLogEventFromStream ¶
func (s SubscriberService) ProcessTxLogEventFromStream(data []byte) error
func (SubscriberService) Serve ¶
func (s SubscriberService) Serve()
Click to show internal directories.
Click to hide internal directories.