service

package
v0.0.0-...-8cfd1f9 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT 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 New

func New(log logr.Logger, store products.Store) *Service

func (*Service) RegisterEventHandlers

func (s *Service) RegisterEventHandlers(app *fiber.App)

func (*Service) RegisterService

func (s *Service) RegisterService(app *fiber.App)

func (*Service) RegisterTopicEventHandlers

func (s *Service) RegisterTopicEventHandlers(register dapr.RegisterEventHandler)

func (*Service) RegisterTopicEventHandlersSDK

func (s *Service) RegisterTopicEventHandlersSDK(service common.Service) error

func (*Service) SaveGRPC

func (*Service) SaveHTTP

func (s *Service) SaveHTTP(c *fiber.Ctx) error

func (*Service) SaveSDK

func (s *Service) SaveSDK(ctx context.Context, e *common.TopicEvent) (retry bool, err error)

func (*Service) Subscriptions

func (s *Service) Subscriptions() []dapr.Subscription

Jump to

Keyboard shortcuts

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