service

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KafkaTopicDeviceLog = "device-log"
)
View Source
const (
	KafkaTopicDeviceReport = "device-report"
)
View Source
const (
	KafkaTopicEmail = "email"
)

Variables

This section is empty.

Functions

func KafkaTopicDeviceLogUnmarshal

func KafkaTopicDeviceLogUnmarshal(data []byte) (*log.DeviceLogData, error)

func KafkaTopicDeviceLogUnmarshalTo

func KafkaTopicDeviceLogUnmarshalTo(data []byte, v *log.DeviceLogData) error

func KafkaTopicDeviceReportSend added in v0.3.0

func KafkaTopicDeviceReportSend(kc sarama.AsyncProducer, deviceID uint64, data *collection.CollectionData) error

func KafkaTopicDeviceReportUnmarshal

func KafkaTopicDeviceReportUnmarshal(data []byte) (*collection.CollectionData, error)

func KafkaTopicDeviceReportUnmarshalTo

func KafkaTopicDeviceReportUnmarshalTo(data []byte, v *collection.CollectionData) error

func KafkaTopicEmailSend added in v0.3.0

func KafkaTopicEmailSend(kc sarama.AsyncProducer, data *email.SendEmailReq) error

func KafkaTopicEmailUnmarshal added in v0.3.0

func KafkaTopicEmailUnmarshal(data []byte) (*email.SendEmailReq, error)

func KafkaTopicEmailUnmarshalTo added in v0.3.0

func KafkaTopicEmailUnmarshalTo(data []byte, v *email.SendEmailReq) error

Types

This section is empty.

Directories

Path Synopsis
log
web

Jump to

Keyboard shortcuts

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