service

package
v0.0.0-...-e0b84e1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const COMMENT = "comment"

Variables

This section is empty.

Functions

func IsMessageKeyComment

func IsMessageKeyComment(msg []byte) bool

func Unmarshal

func Unmarshal(msg []byte) (*comment.Comment, error)

func ValidateMessageContent

func ValidateMessageContent(msg *comment.Comment) string

Types

type CommentService

type CommentService interface {
	UpdateComment(msg kafka.Message) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳