Documentation ¶ Index ¶ type Postgres func New(db *sqlx.DB) *Postgres func (d *Postgres) PushInfo(ctx context.Context, udid string) (*apns.PushInfo, error) func (d *Postgres) Save(ctx context.Context, i *apns.PushInfo) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Postgres ¶ type Postgres struct { // contains filtered or unexported fields } func New ¶ func New(db *sqlx.DB) *Postgres func (*Postgres) PushInfo ¶ func (d *Postgres) PushInfo(ctx context.Context, udid string) (*apns.PushInfo, error) func (*Postgres) Save ¶ func (d *Postgres) Save(ctx context.Context, i *apns.PushInfo) error Source Files ¶ View all Source files pg.go Click to show internal directories. Click to hide internal directories.