Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NatsService ¶
NatsService Implements the pubsub interface with nats
func NewNatsService ¶
func NewNatsService(sc stan.Conn, sp string) *NatsService
NewNatsService instantiates the nats service
func (*NatsService) PublishAdd ¶
func (s *NatsService) PublishAdd(token *jwt.Token) error
PublishAdd publishes that a token has been added to the stream
func (*NatsService) PublishRevoke ¶
func (s *NatsService) PublishRevoke(token *jwt.Token) error
PublishRevoke publishes that a token has been revoked to the stream
type PublisherInterface ¶
PublisherInterface represents a struct with the nats publish methods
Click to show internal directories.
Click to hide internal directories.