Documentation ¶
Index ¶
- Variables
- func MaybeRunMigrations(dialect string, db *sql.DB)
- type CreateModuleConfigurationParams
- type CreateSeenObservationParams
- type DBTX
- type DeleteModuleConfigurationParams
- type FeaturedMessage
- type FindIsMessageFeaturedParams
- type FindModuleConfigurationParams
- type FindObservationsParams
- type ModuleConfiguration
- type Queries
- func (q *Queries) CreateModuleConfiguration(ctx context.Context, arg CreateModuleConfigurationParams) (ModuleConfiguration, error)
- func (q *Queries) CreateSeenObservation(ctx context.Context, arg CreateSeenObservationParams) (SeenObservation, error)
- func (q *Queries) DeleteModuleConfiguration(ctx context.Context, arg DeleteModuleConfigurationParams) (ModuleConfiguration, error)
- func (q *Queries) FindIsMessageFeatured(ctx context.Context, arg FindIsMessageFeaturedParams) (int64, error)
- func (q *Queries) FindModuleConfiguration(ctx context.Context, arg FindModuleConfigurationParams) (ModuleConfiguration, error)
- func (q *Queries) FindModuleConfigurations(ctx context.Context, module string) ([]ModuleConfiguration, error)
- func (q *Queries) FindObservations(ctx context.Context, arg FindObservationsParams) ([]SeenObservation, error)
- func (q *Queries) SaveFeaturedMessage(ctx context.Context, arg SaveFeaturedMessageParams) (FeaturedMessage, error)
- func (q *Queries) UpdateModuleConfiguration(ctx context.Context, arg UpdateModuleConfigurationParams) (ModuleConfiguration, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type SaveFeaturedMessageParams
- type SeenObservation
- type UpdateModuleConfigurationParams
Constants ¶
This section is empty.
Variables ¶
View Source
var EmbeddedMigrations embed.FS
Functions ¶
func MaybeRunMigrations ¶
Types ¶
type FeaturedMessage ¶
type FindObservationsParams ¶
type ModuleConfiguration ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateModuleConfiguration ¶
func (q *Queries) CreateModuleConfiguration(ctx context.Context, arg CreateModuleConfigurationParams) (ModuleConfiguration, error)
func (*Queries) CreateSeenObservation ¶
func (q *Queries) CreateSeenObservation(ctx context.Context, arg CreateSeenObservationParams) (SeenObservation, error)
func (*Queries) DeleteModuleConfiguration ¶
func (q *Queries) DeleteModuleConfiguration(ctx context.Context, arg DeleteModuleConfigurationParams) (ModuleConfiguration, error)
func (*Queries) FindIsMessageFeatured ¶
func (*Queries) FindModuleConfiguration ¶
func (q *Queries) FindModuleConfiguration(ctx context.Context, arg FindModuleConfigurationParams) (ModuleConfiguration, error)
func (*Queries) FindModuleConfigurations ¶
func (*Queries) FindObservations ¶
func (q *Queries) FindObservations(ctx context.Context, arg FindObservationsParams) ([]SeenObservation, error)
func (*Queries) SaveFeaturedMessage ¶
func (q *Queries) SaveFeaturedMessage(ctx context.Context, arg SaveFeaturedMessageParams) (FeaturedMessage, error)
func (*Queries) UpdateModuleConfiguration ¶
func (q *Queries) UpdateModuleConfiguration(ctx context.Context, arg UpdateModuleConfigurationParams) (ModuleConfiguration, error)
type SeenObservation ¶
Click to show internal directories.
Click to hide internal directories.