Documentation
¶
Index ¶
- type ChallengeStore
- type DAO
- type PostgresBuilder
- func (pb PostgresBuilder) Build() *dao
- func (d PostgresBuilder) GetAllChallenges() ([]*models.Challenge, error)
- func (d PostgresBuilder) GetChallengeByName(name string) (*models.Challenge, error)
- func (pb PostgresBuilder) SetConnectionString(connectionString string) PostgresBuilder
- func (d PostgresBuilder) UpdateChallengeAccepted(name string) (*models.Challenge, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChallengeStore ¶
type DAO ¶
type DAO interface { ChallengeStore }
type PostgresBuilder ¶
type PostgresBuilder struct {
// contains filtered or unexported fields
}
func (PostgresBuilder) Build ¶
func (pb PostgresBuilder) Build() *dao
func (PostgresBuilder) GetAllChallenges ¶
func (PostgresBuilder) GetChallengeByName ¶
func (PostgresBuilder) SetConnectionString ¶
func (pb PostgresBuilder) SetConnectionString(connectionString string) PostgresBuilder
Click to show internal directories.
Click to hide internal directories.