Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatRepository ¶
type ChatRepository interface { GetConsumersIDs(ctx context.Context) ([]int64, error) GetChatsWithNoMessageInIt(ctx context.Context, date time.Time, msg string) ([]int64, error) CreateChat(ctx context.Context, id int64, chatType model.ChatType) error DeleteChat(ctx context.Context, id int64) error SafeThatMessageHadBeenSend(ctx context.Context, id int64, date time.Time, msg string) error }
type Storage ¶
type Storage interface {
Chat() ChatRepository
}
Click to show internal directories.
Click to hide internal directories.