Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NotificationTypeUnspecified = NotificationType("") NotificationTypeSMS = NotificationType("sms") NotificationTypeEMail = NotificationType("email") )
Functions ¶
func NotificationTypeToProto ¶
func NotificationTypeToProto(nt NotificationType) commentv1.NotificationType
Types ¶
type Comment ¶
type CommentTree ¶
type CommentTree struct { Comment Comment Answers []*CommentTree }
func (CommentTree) ToProto ¶
func (ct CommentTree) ToProto(recurse bool) *commentv1.CommentTree
type NotificationType ¶
type NotificationType string
func NotifcationTypeFromProto ¶
func NotifcationTypeFromProto(npb commentv1.NotificationType) NotificationType
Click to show internal directories.
Click to hide internal directories.