store

package
v0.0.0-...-9979fab Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

Store .

func NewStore

func NewStore(driverName string, pluginAPI *pluginapi.Client, log bot.Logger) *Store

NewStore .

func (*Store) Close

func (s *Store) Close()

Close store

func (*Store) GetChannelActivity

func (db *Store) GetChannelActivity(teamID string) (userChannelActivity, error)

GetChannelActivity returns user activity in most active channels for most active users. For now user activity is the number of posts posted in a channel.

func (*Store) GetChannelsForTeam

func (db *Store) GetChannelsForTeam(teamID string) ([]string, error)

GetChannelsForTeam returns most active channels in the team

Jump to

Keyboard shortcuts

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