Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Src ¶
type Src struct {
// contains filtered or unexported fields
}
func NewPostgreSQL ¶
NewPostgreSQL returns new PostgreSQL input source
The function takes credentials from env:
- envPrefix+DB_USER
- envPrefix+DB_NAME
- envPrefix+DB_PASS
- envPrefix+DB_HOST
- envPrefix+DB_PORT
Default envPrefix is "SENDER_"
func (*Src) GetScheduledAd ¶
func (s *Src) GetScheduledAd(y, m, d int) (dto.ScheduledAd, error)
Click to show internal directories.
Click to hide internal directories.