Documentation ¶
Index ¶
- type DBTX
- type InsertMessageParams
- type Message
- type Queries
- func (q *Queries) GetMessage(ctx context.Context, id uuid.UUID) (Message, error)
- func (q *Queries) GetRoom(ctx context.Context, id uuid.UUID) (Room, error)
- func (q *Queries) GetRoomMessages(ctx context.Context, roomID uuid.UUID) ([]Message, error)
- func (q *Queries) GetRooms(ctx context.Context) ([]Room, error)
- func (q *Queries) InsertMessage(ctx context.Context, arg InsertMessageParams) (uuid.UUID, error)
- func (q *Queries) InsertRoom(ctx context.Context, theme string) (uuid.UUID, error)
- func (q *Queries) MarkMessageAsAnswered(ctx context.Context, id uuid.UUID) (bool, error)
- func (q *Queries) ReactToMessage(ctx context.Context, id uuid.UUID) (int64, error)
- func (q *Queries) RemoveReactionFromMessage(ctx context.Context, id uuid.UUID) (int64, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type Room
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsertMessageParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetMessage ¶
func (*Queries) GetRoomMessages ¶
func (*Queries) InsertMessage ¶
func (*Queries) InsertRoom ¶
func (*Queries) MarkMessageAsAnswered ¶
func (*Queries) ReactToMessage ¶
func (*Queries) RemoveReactionFromMessage ¶
Click to show internal directories.
Click to hide internal directories.