Documentation
¶
Index ¶
- type PostgresRemoteConfigRepository
- func (r *PostgresRemoteConfigRepository) CreateRemoteConfig(ctx context.Context, key string, value string) error
- func (r *PostgresRemoteConfigRepository) GetRemoteConfigByKey(ctx context.Context, key string) (string, error)
- func (r *PostgresRemoteConfigRepository) UpdateRemoteConfig(ctx context.Context, key string, value string) error
- type RemoteConfigCommand
- type RemoteConfigQuery
- type RemoteConfigRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresRemoteConfigRepository ¶
type PostgresRemoteConfigRepository struct { Postgres *remoteconfigpostgres.Queries // contains filtered or unexported fields }
func NewPostgresRemoteConfigRepository ¶
func NewPostgresRemoteConfigRepository( postgresRepo *database.SqlRepository, ) *PostgresRemoteConfigRepository
func (*PostgresRemoteConfigRepository) CreateRemoteConfig ¶
func (*PostgresRemoteConfigRepository) GetRemoteConfigByKey ¶
func (*PostgresRemoteConfigRepository) UpdateRemoteConfig ¶
type RemoteConfigCommand ¶
type RemoteConfigQuery ¶
type RemoteConfigRepo ¶
type RemoteConfigRepo interface { RemoteConfigCommand RemoteConfigQuery }
Click to show internal directories.
Click to hide internal directories.