Documentation ¶
Index ¶
- Variables
- type Message
- type NATSService
- func (s *NATSService) Close()
- func (s *NATSService) ReceiveMessages(ctx context.Context, publicIdentityKey []byte) ([]Message, error)
- func (s *NATSService) Register(ctx context.Context, publicIdentityKey []byte, identityKeys [][]byte) error
- func (s *NATSService) SendMessage(ctx context.Context, fromPublicIdentityKey []byte, toPublicIdentityKey []byte, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWrongMessageIndex = fmt.Errorf("wrong message index")
Functions ¶
This section is empty.
Types ¶
type NATSService ¶
type NATSService struct {
// contains filtered or unexported fields
}
func NewNATSService ¶
func NewNATSService() (*NATSService, error)
func (*NATSService) Close ¶
func (s *NATSService) Close()
func (*NATSService) ReceiveMessages ¶
func (*NATSService) SendMessage ¶
Click to show internal directories.
Click to hide internal directories.