Documentation ¶
Index ¶
- type Postgres
- func (psql *Postgres) DeleteUser(username string, chatId int) error
- func (psql *Postgres) GetAllUsers(chatId int) (*[]entity.ChatUser, bool, error)
- func (psql *Postgres) GetDiscordChannelId(chatId int64) (*string, error)
- func (psql *Postgres) GetTelegramChatId(guildId string) (*int64, error)
- func (psql *Postgres) GetUser(username string, chatId int) (*entity.ChatUser, bool, error)
- func (psql *Postgres) InsertUser(username string, chatId int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Postgres ¶
func (*Postgres) GetAllUsers ¶
func (*Postgres) GetDiscordChannelId ¶
func (*Postgres) GetTelegramChatId ¶
Click to show internal directories.
Click to hide internal directories.