nats

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(logger *logger.Logger, conn *nats.Conn) (*Service, error)

func (*Service) Close

func (s *Service) Close() error

func (*Service) GetChannel

func (s *Service) GetChannel(ctx context.Context) (chan *stategate.Event, error)

func (*Service) Publish

func (s *Service) Publish(ctx context.Context, event *stategate.Event) *errorz.Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL