notify

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(
	NewNotifyService,
)

ProviderSet is service providers.

Functions

This section is empty.

Types

type NotifyConsumer added in v0.3.2

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

func NewNotifyConsumer added in v0.3.2

func NewNotifyConsumer(s *NotifyService) *NotifyConsumer

func (*NotifyConsumer) Cleanup added in v0.3.2

func (*NotifyConsumer) ConsumeClaim added in v0.3.2

func (s *NotifyConsumer) ConsumeClaim(session sarama.ConsumerGroupSession, claim sarama.ConsumerGroupClaim) error

func (*NotifyConsumer) Setup added in v0.3.2

type NotifyService

type NotifyService struct {
	notify.UnimplementedNotifyServer
	// contains filtered or unexported fields
}

func (*NotifyService) NotifyDeviceOffline added in v0.3.2

func (s *NotifyService) NotifyDeviceOffline(ctx context.Context, req *notify.NotifyDeviceOfflineReq) (*notify.Empty, error)

func (*NotifyService) NotifyDeviceOnline added in v0.3.2

func (s *NotifyService) NotifyDeviceOnline(ctx context.Context, req *notify.NotifyDeviceOnlineReq) (*notify.Empty, error)

func (*NotifyService) NotifyTestEmail added in v0.4.0

func (ns *NotifyService) NotifyTestEmail(ctx context.Context, req *notify.NotifyTestEmailReq) (*notify.Empty, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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