Documentation ¶
Index ¶
- type AddressLog
- type CreateOrUpdateInstallationParams
- type DBTX
- type FetchKeyPackagesRow
- type GetAddressLogsRow
- type GetAllInboxLogsRow
- type GetInboxLogFilteredRow
- type GroupMessage
- type InboxLog
- type InboxLogFilter
- type InboxLogFilterList
- type InsertAddressLogParams
- type InsertGroupMessageParams
- type InsertInboxLogParams
- type InsertWelcomeMessageParams
- type Installation
- type Queries
- func (q *Queries) CreateOrUpdateInstallation(ctx context.Context, arg CreateOrUpdateInstallationParams) error
- func (q *Queries) FetchKeyPackages(ctx context.Context, installationIds [][]byte) ([]FetchKeyPackagesRow, error)
- func (q *Queries) GetAddressLogs(ctx context.Context, addresses []string) ([]GetAddressLogsRow, error)
- func (q *Queries) GetAllGroupMessages(ctx context.Context) ([]GroupMessage, error)
- func (q *Queries) GetAllInboxLogs(ctx context.Context, inboxID string) ([]GetAllInboxLogsRow, error)
- func (q *Queries) GetAllWelcomeMessages(ctx context.Context) ([]WelcomeMessage, error)
- func (q *Queries) GetInboxLogFiltered(ctx context.Context, filters json.RawMessage) ([]GetInboxLogFilteredRow, error)
- func (q *Queries) GetInstallation(ctx context.Context, id []byte) (Installation, error)
- func (q *Queries) InsertAddressLog(ctx context.Context, arg InsertAddressLogParams) (AddressLog, error)
- func (q *Queries) InsertGroupMessage(ctx context.Context, arg InsertGroupMessageParams) (GroupMessage, error)
- func (q *Queries) InsertInboxLog(ctx context.Context, arg InsertInboxLogParams) (int64, error)
- func (q *Queries) InsertWelcomeMessage(ctx context.Context, arg InsertWelcomeMessageParams) (WelcomeMessage, error)
- func (q *Queries) LockInboxLog(ctx context.Context, inboxID string) error
- func (q *Queries) QueryGroupMessages(ctx context.Context, arg QueryGroupMessagesParams) ([]GroupMessage, error)
- func (q *Queries) QueryGroupMessagesWithCursorAsc(ctx context.Context, arg QueryGroupMessagesWithCursorAscParams) ([]GroupMessage, error)
- func (q *Queries) QueryGroupMessagesWithCursorDesc(ctx context.Context, arg QueryGroupMessagesWithCursorDescParams) ([]GroupMessage, error)
- func (q *Queries) QueryWelcomeMessages(ctx context.Context, arg QueryWelcomeMessagesParams) ([]WelcomeMessage, error)
- func (q *Queries) QueryWelcomeMessagesWithCursorAsc(ctx context.Context, arg QueryWelcomeMessagesWithCursorAscParams) ([]WelcomeMessage, error)
- func (q *Queries) QueryWelcomeMessagesWithCursorDesc(ctx context.Context, arg QueryWelcomeMessagesWithCursorDescParams) ([]WelcomeMessage, error)
- func (q *Queries) RevokeAddressFromLog(ctx context.Context, arg RevokeAddressFromLogParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type QueryGroupMessagesParams
- type QueryGroupMessagesWithCursorAscParams
- type QueryGroupMessagesWithCursorDescParams
- type QueryWelcomeMessagesParams
- type QueryWelcomeMessagesWithCursorAscParams
- type QueryWelcomeMessagesWithCursorDescParams
- type RevokeAddressFromLogParams
- type WelcomeMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressLog ¶
type FetchKeyPackagesRow ¶
type GetAddressLogsRow ¶
type GetAllInboxLogsRow ¶
type GetInboxLogFilteredRow ¶
type GroupMessage ¶
type InboxLogFilter ¶
type InboxLogFilterList ¶
type InboxLogFilterList []InboxLogFilter
func (*InboxLogFilterList) ToSql ¶
func (f *InboxLogFilterList) ToSql() (json.RawMessage, error)
type InsertAddressLogParams ¶
type InsertInboxLogParams ¶
type Installation ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateOrUpdateInstallation ¶
func (q *Queries) CreateOrUpdateInstallation(ctx context.Context, arg CreateOrUpdateInstallationParams) error
func (*Queries) FetchKeyPackages ¶
func (*Queries) GetAddressLogs ¶
func (*Queries) GetAllGroupMessages ¶
func (q *Queries) GetAllGroupMessages(ctx context.Context) ([]GroupMessage, error)
func (*Queries) GetAllInboxLogs ¶
func (*Queries) GetAllWelcomeMessages ¶
func (q *Queries) GetAllWelcomeMessages(ctx context.Context) ([]WelcomeMessage, error)
func (*Queries) GetInboxLogFiltered ¶
func (q *Queries) GetInboxLogFiltered(ctx context.Context, filters json.RawMessage) ([]GetInboxLogFilteredRow, error)
func (*Queries) GetInstallation ¶
func (*Queries) InsertAddressLog ¶
func (q *Queries) InsertAddressLog(ctx context.Context, arg InsertAddressLogParams) (AddressLog, error)
func (*Queries) InsertGroupMessage ¶
func (q *Queries) InsertGroupMessage(ctx context.Context, arg InsertGroupMessageParams) (GroupMessage, error)
func (*Queries) InsertInboxLog ¶
func (*Queries) InsertWelcomeMessage ¶
func (q *Queries) InsertWelcomeMessage(ctx context.Context, arg InsertWelcomeMessageParams) (WelcomeMessage, error)
func (*Queries) LockInboxLog ¶
func (*Queries) QueryGroupMessages ¶
func (q *Queries) QueryGroupMessages(ctx context.Context, arg QueryGroupMessagesParams) ([]GroupMessage, error)
func (*Queries) QueryGroupMessagesWithCursorAsc ¶
func (q *Queries) QueryGroupMessagesWithCursorAsc(ctx context.Context, arg QueryGroupMessagesWithCursorAscParams) ([]GroupMessage, error)
func (*Queries) QueryGroupMessagesWithCursorDesc ¶
func (q *Queries) QueryGroupMessagesWithCursorDesc(ctx context.Context, arg QueryGroupMessagesWithCursorDescParams) ([]GroupMessage, error)
func (*Queries) QueryWelcomeMessages ¶
func (q *Queries) QueryWelcomeMessages(ctx context.Context, arg QueryWelcomeMessagesParams) ([]WelcomeMessage, error)
func (*Queries) QueryWelcomeMessagesWithCursorAsc ¶
func (q *Queries) QueryWelcomeMessagesWithCursorAsc(ctx context.Context, arg QueryWelcomeMessagesWithCursorAscParams) ([]WelcomeMessage, error)
func (*Queries) QueryWelcomeMessagesWithCursorDesc ¶
func (q *Queries) QueryWelcomeMessagesWithCursorDesc(ctx context.Context, arg QueryWelcomeMessagesWithCursorDescParams) ([]WelcomeMessage, error)
func (*Queries) RevokeAddressFromLog ¶
func (q *Queries) RevokeAddressFromLog(ctx context.Context, arg RevokeAddressFromLogParams) error
Click to show internal directories.
Click to hide internal directories.