const repPointsForReacting …
type CommentsByChannel …
type userActivity …
func (u *DynamoUserRecord) TotalComments() (total int) { … }
func (u *DynamoUserRecord) ActivityInChannel(channelid string, window common.TimeWindow) int { … }
func (u *DynamoUserRecord) ActivityInAllChannels(window common.TimeWindow) int { … }
func (u *DynamoUserRecord) ActiveInChannels(window common.TimeWindow) (activechannels []common.Channel) { … }
func (u *DynamoUserRecord) TrackEvent(eventkey string) { … }
func (u *DynamoUserRecord) EventCount(eventkey string, window common.TimeWindow) int { … }
func (u *DynamoUserRecord) TrackUserComment(m common.Message) { … }
func (u *DynamoUserRecord) TrackUserPresence(p common.PresenceUpdate) (timesincelast time.Duration) { … }
func (u *DynamoUserRecord) TrackUserReactions(r common.MessageReaction) { … }