Documentation ¶
Index ¶
- type CreateMessageParams
- type DBTX
- type Message
- type Queries
- func (q *Queries) AnswerMessage(ctx context.Context, id uuid.UUID) (Message, error)
- func (q *Queries) CreateMessage(ctx context.Context, arg CreateMessageParams) (Message, error)
- func (q *Queries) CreateRoom(ctx context.Context, theme string) (Room, error)
- func (q *Queries) DeleteMessage(ctx context.Context, id uuid.UUID) (Message, error)
- func (q *Queries) DeleteRoom(ctx context.Context, id uuid.UUID) (Room, error)
- func (q *Queries) GetAnsweredMessages(ctx context.Context, roomID uuid.UUID) ([]Message, error)
- func (q *Queries) GetMessages(ctx context.Context, roomID uuid.UUID) ([]Message, error)
- func (q *Queries) GetRoom(ctx context.Context, id uuid.UUID) (Room, error)
- func (q *Queries) GetRooms(ctx context.Context) ([]Room, error)
- func (q *Queries) UnanswerMessage(ctx context.Context, id uuid.UUID) (Message, error)
- func (q *Queries) UpdateMessage(ctx context.Context, arg UpdateMessageParams) (Message, error)
- func (q *Queries) UpdateRoom(ctx context.Context, arg UpdateRoomParams) (Room, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type Room
- type UpdateMessageParams
- type UpdateRoomParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateMessageParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AnswerMessage ¶
func (*Queries) CreateMessage ¶
func (*Queries) CreateRoom ¶
func (*Queries) DeleteMessage ¶
func (*Queries) DeleteRoom ¶
func (*Queries) GetAnsweredMessages ¶
func (*Queries) GetMessages ¶
func (*Queries) UnanswerMessage ¶
func (*Queries) UpdateMessage ¶
func (*Queries) UpdateRoom ¶
type UpdateMessageParams ¶
type UpdateRoomParams ¶
Click to show internal directories.
Click to hide internal directories.