Documentation ¶
Index ¶
- type AddChannelSyncParams
- type AddFileContentChunksParams
- type AddGithubRepoFileParams
- type DBTX
- type FileChunkMessage
- type FilesToSync
- type GetFileContentChunksRow
- type GetGithubRepoSyncFilesRow
- type GetGuildChannelSyncParams
- type GithubRepoFile
- type Queries
- func (q *Queries) AddChannelSync(ctx context.Context, arg AddChannelSyncParams) (FilesToSync, error)
- func (q *Queries) AddFileContentChunks(ctx context.Context, arg AddFileContentChunksParams) ([]FileChunkMessage, error)
- func (q *Queries) AddGithubRepoFile(ctx context.Context, arg AddGithubRepoFileParams) (GithubRepoFile, error)
- func (q *Queries) GetChannelSync(ctx context.Context, fileUri string) (FilesToSync, error)
- func (q *Queries) GetFileContentChunks(ctx context.Context, channelID string) ([]GetFileContentChunksRow, error)
- func (q *Queries) GetGithubRepoSyncFiles(ctx context.Context, githubRepoUrl string) ([]GetGithubRepoSyncFilesRow, error)
- func (q *Queries) GetGuildChannelSync(ctx context.Context, arg GetGuildChannelSyncParams) (FilesToSync, error)
- func (q *Queries) GetGuildSyncs(ctx context.Context, discordGuildSnowflake string) ([]FilesToSync, error)
- func (q *Queries) RemoveFileContentChunks(ctx context.Context, fileToSyncFk int64) error
- func (q *Queries) SetFileSyncContents(ctx context.Context, arg SetFileSyncContentsParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type SchemaMigration
- type SetFileSyncContentsParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddChannelSyncParams ¶
type AddGithubRepoFileParams ¶
type FileChunkMessage ¶
type FilesToSync ¶
type GetFileContentChunksRow ¶
type GithubRepoFile ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AddChannelSync ¶
func (q *Queries) AddChannelSync(ctx context.Context, arg AddChannelSyncParams) (FilesToSync, error)
func (*Queries) AddFileContentChunks ¶
func (q *Queries) AddFileContentChunks(ctx context.Context, arg AddFileContentChunksParams) ([]FileChunkMessage, error)
func (*Queries) AddGithubRepoFile ¶
func (q *Queries) AddGithubRepoFile(ctx context.Context, arg AddGithubRepoFileParams) (GithubRepoFile, error)
func (*Queries) GetChannelSync ¶
func (*Queries) GetFileContentChunks ¶
func (*Queries) GetGithubRepoSyncFiles ¶
func (*Queries) GetGuildChannelSync ¶
func (q *Queries) GetGuildChannelSync(ctx context.Context, arg GetGuildChannelSyncParams) (FilesToSync, error)
func (*Queries) GetGuildSyncs ¶
func (*Queries) RemoveFileContentChunks ¶
func (*Queries) SetFileSyncContents ¶
func (q *Queries) SetFileSyncContents(ctx context.Context, arg SetFileSyncContentsParams) error
type SchemaMigration ¶
type SchemaMigration struct {
Version string
}
Click to show internal directories.
Click to hide internal directories.